Skip to content

Commit

Permalink
Add CPACK_SOURCE_IGNORE_FILES
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Nov 2, 2023
1 parent 8cdbfc6 commit 1652081
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ if (URL_INSTALL AND NOT URL_AMALGAMATED)
set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
set(CPACK_SOURCE_GENERATOR "ZIP")
set(CPACK_SOURCE_IGNORE_FILES \\.git* /build*/ /*\\.yml)
set(CPACK_VERBATIM_VARIABLES ON)
include(CPack)
endif()
endif()

0 comments on commit 1652081

Please sign in to comment.