From bdf602f48194058d998909a233556cc57bac303e Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Fri, 16 Feb 2018 21:55:10 +0100 Subject: Add cpack directive and update README --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b81e25..91774af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,3 +34,10 @@ endif () # install target install(TARGETS ${EXECUTABLE_NAME} DESTINATION bin) + +# CPack packaging +include(InstallRequiredSystemLibraries) +# set(CPACK_RESOURCES_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") +set(CPACK_PACKAGE_VERSION_MAJOR "${subconscious_VERSION_MAJOR}") +set(CPACK_PACKAGE_VERSION_MINOR "${subconscious_VERSION_MINOR}") +include(CPack) -- cgit v1.2.1