Skip to content

Commit

Permalink
Exclude dotfiles from install rules (#199)
Browse files Browse the repository at this point in the history
Fix #198
  • Loading branch information
serge-sans-paille authored Sep 3, 2024
1 parent b0d6a5e commit d910c2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d910c2c

Please sign in to comment.