diff --git a/interpreter/cling/lib/UserInterface/CMakeLists.txt b/interpreter/cling/lib/UserInterface/CMakeLists.txt index e4c347c0ad68c..bfa3df01c745b 100644 --- a/interpreter/cling/lib/UserInterface/CMakeLists.txt +++ b/interpreter/cling/lib/UserInterface/CMakeLists.txt @@ -19,10 +19,11 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/textinput) else() # For cling, install textinput *.h in include/cling/UserInterface/textinput. install(DIRECTORY ${TEXTINPUTSRC}textinput - DESTINATION include/cling/UserInterface/textinput + DESTINATION include/cling/UserInterface FILES_MATCHING PATTERN "CMakeFiles" EXCLUDE PATTERN "*.cpp" EXCLUDE + PATTERN "doc" EXCLUDE PATTERN "*.h" ) endif()