Skip to content

Commit

Permalink
For cling, install TextInput headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Oct 13, 2016
1 parent ed8016a commit da2e21c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions interpreter/cling/lib/UserInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ set( LLVM_LINK_COMPONENTS
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/textinput)
set(TEXTINPUTSRC ${CMAKE_SOURCE_DIR}/core/textinput/src/)
include_directories(${TEXTINPUTSRC})
else()
# For cling, install textinput *.h in include/cling/UserInterface/textinput.
install(DIRECTORY ${TEXTINPUTSRC}textinput
DESTINATION include/cling/UserInterface/textinput
FILES_MATCHING
PATTERN "CMakeFiles" EXCLUDE
PATTERN "*.cpp" EXCLUDE
PATTERN "*.h"
)
endif()

add_cling_library(clingUserInterface
Expand Down

0 comments on commit da2e21c

Please sign in to comment.