CPack's source package now ignores the build dir

This commit is contained in:
Jon Siwek 2010-11-19 10:45:46 -06:00
parent e4d12ea1d3
commit 552177c33a

View file

@ -212,6 +212,9 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CPACK_RPM_PACKAGE_LICENSE "BSD") set(CPACK_RPM_PACKAGE_LICENSE "BSD")
endif () endif ()
# Ignore the build directory
set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_BINARY_DIR})
include(CPack) include(CPack)
######################################################################## ########################################################################