include 3rdparty/lib/* into the source package for Windows

This commit is contained in:
Vadim Pisarevsky 2010-12-05 03:14:28 +00:00
parent 9d8644dee0
commit bb9bf53eb1

View File

@ -45,7 +45,6 @@ set(CPACK_SOURCE_IGNORE_FILES
"/\\\\.svn/"
"/autom4te.cache/"
"/build/"
"/lib/"
"/interfaces/"
"/swig_python/"
"/octave/"
@ -66,6 +65,12 @@ set(CPACK_SOURCE_IGNORE_FILES
"/1$"
"${CPACK_SOURCE_IGNORE_FILES}")
if(NOT WIN32)
set(CPACK_SOURCE_IGNORE_FILES
"/lib/"
"${CPACK_SOURCE_IGNORE_FILES}")
endif()
set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")