diff --git a/CMakeLists.txt b/CMakeLists.txt index cc33ffd2d3..bb69547e45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,5 +273,5 @@ install( # Source tarball set(CPACK_SOURCE_GENERATOR "TGZ") set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CMAKE_PROJECT_NAME}-${PROJECT_VERSION}) -set(CPACK_SOURCE_IGNORE_FILES ".*~$" \.git/ \.github /tests /build) +set(CPACK_SOURCE_IGNORE_FILES ".*~$" \.git/ \.github \.gitmodules \.gitignore /tests /build) include(CPack)