From 8a30895caefb27eef5eeb49844191efc56cb1b14 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Thu, 22 Feb 2018 23:40:01 +0100 Subject: [PATCH] Disabled CPACK on linux for now --- CMakeLists.txt | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e698853..e6f4958 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,14 +185,16 @@ if (WIN32) install(FILES ${DLL_FILES} DESTINATION bin) endif (WIN32) -set(CPACK_INSTALL_CMAKE_PROJECTS ${PROJECT_BINARY_DIR} breakhack Release package) -set(CPACK_PACKAGE_NAME "BreakHack") -set(CPACK_PACKAGE_VENDOR "OliveShark") -set(CPACK_PACKAGE_DIRECTORY "package") -set(CPACK_PACKAGE_VERSION_MAJOR "0") -set(CPACK_PACKAGE_VERSION_MINOR "1") -set(CPACK_PACKAGE_VERSION_PATCH "1") -set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") -set(CPACK_PACKAGE_CHECKSUM "MD5") -set(CPACK_PACKAGE_EXECUTABLES breakhack) -include(cpack) \ No newline at end of file +if (WIN32) + set(CPACK_INSTALL_CMAKE_PROJECTS ${PROJECT_BINARY_DIR} breakhack Release package) + set(CPACK_PACKAGE_NAME "BreakHack") + set(CPACK_PACKAGE_VENDOR "OliveShark") + set(CPACK_PACKAGE_DIRECTORY "package") + set(CPACK_PACKAGE_VERSION_MAJOR "0") + set(CPACK_PACKAGE_VERSION_MINOR "1") + set(CPACK_PACKAGE_VERSION_PATCH "1") + set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") + set(CPACK_PACKAGE_CHECKSUM "MD5") + set(CPACK_PACKAGE_EXECUTABLES breakhack) + include(cpack) +endif (WIN32) \ No newline at end of file