diff --git a/CMakeLists.txt b/CMakeLists.txt index a1da6a48..3a26d2e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,9 @@ export(EXPORT ${PROJECT_NAME}-targets FILE "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake") install(DIRECTORY ${SPARROW_INCLUDE_DIR}/sparrow - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + PATTERN ".clang-*" EXCLUDE + PATTERN "README.md" EXCLUDE) set(SPARROW_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME}" CACHE STRING "install path for sparrowConfig.cmake")