ref: 6e79cef4b05e2863fef1eb0da4de7a4afc920494
parent: ea1b3fbabcebe5583cc689ca5983f4cff874ce74
author: gkostka <[email protected]>
date: Thu Oct 8 16:04:02 EDT 2015
Add ignore .git directory cmkage dist target
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,7 +59,7 @@
set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set(CPACK_SOURCE_IGNORE_FILES
-"/build" ".svn")
+"/build" ".git")
include(CPack)
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)