Skip to content

Commit

Permalink
Merge pull request #8 from WojciechRynczuk/005_cmake_strip
Browse files Browse the repository at this point in the history
Enable ELF stripping in package generation, fixes #5
  • Loading branch information
WojciechRynczuk committed Jan 4, 2017
2 parents 75665f4 + b145aec commit 5c82bef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ if (UNIX)
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
set(CPACK_PACKAGE_DIRECTORY ${OUTPUT_DIR_ABSOLUE})
set(CPACK_STRIP_FILES ON)
set(CPACK_GENERATOR "RPM" "DEB" "ZIP")

set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_PROCESSOR})
Expand Down

0 comments on commit 5c82bef

Please sign in to comment.