strip files packaged with CPack

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-07-04 19:55:26 +00:00
parent 08008c9cf0
commit a3aba93131

View file

@ -168,6 +168,7 @@ set(CPACK_PACKAGE_VERSION_PATCH ${KATIE_MICRO})
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Katie")
set(CPACK_SOURCE_IGNORE_FILES "/build/;/mingw/;/.git;${CPACK_SOURCE_IGNORE_FILES}")
set(CPACK_SET_DESTDIR TRUE)
set(CPACK_STRIP_FILES TRUE)
if(WIN32 AND CMAKE_CROSSCOMPILING)
# Windows build on non-Windows host, NSIS is not manditory on such
set(CPACK_GENERATOR "ZIP")