Disabled CPACK on linux for now

This commit is contained in:
Linus Probert 2018-02-22 23:40:01 +01:00
parent dc08e12a01
commit 8a30895cae
1 changed files with 13 additions and 11 deletions

View File

@ -185,14 +185,16 @@ if (WIN32)
install(FILES ${DLL_FILES} DESTINATION bin) install(FILES ${DLL_FILES} DESTINATION bin)
endif (WIN32) endif (WIN32)
set(CPACK_INSTALL_CMAKE_PROJECTS ${PROJECT_BINARY_DIR} breakhack Release package) if (WIN32)
set(CPACK_PACKAGE_NAME "BreakHack") set(CPACK_INSTALL_CMAKE_PROJECTS ${PROJECT_BINARY_DIR} breakhack Release package)
set(CPACK_PACKAGE_VENDOR "OliveShark") set(CPACK_PACKAGE_NAME "BreakHack")
set(CPACK_PACKAGE_DIRECTORY "package") set(CPACK_PACKAGE_VENDOR "OliveShark")
set(CPACK_PACKAGE_VERSION_MAJOR "0") set(CPACK_PACKAGE_DIRECTORY "package")
set(CPACK_PACKAGE_VERSION_MINOR "1") set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_PATCH "1") set(CPACK_PACKAGE_VERSION_MINOR "1")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") set(CPACK_PACKAGE_VERSION_PATCH "1")
set(CPACK_PACKAGE_CHECKSUM "MD5") set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set(CPACK_PACKAGE_EXECUTABLES breakhack) set(CPACK_PACKAGE_CHECKSUM "MD5")
include(cpack) set(CPACK_PACKAGE_EXECUTABLES breakhack)
include(cpack)
endif (WIN32)