From d40e85eb068debd8126c2a144a9c5acac2056b6e Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 10 Mar 2021 15:03:02 +0100 Subject: [PATCH] Generate QtIFW installers with CPack in the CMakeLists.txt file. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43c97c6..c45c96c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ if (UNIX AND NOT MINGW) install(FILES CMakeLists.txt desc.txt LICENSE.txt README.md changelog.txt DESTINATION ${CPACK_RPM_SOURCE_PKG_PACKAGING_INSTALL_PREFIX}) else() if (NOT DEFINED CPACK_GENERATOR) - set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB) + set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB;IFW) endif() install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/ybcon @@ -98,7 +98,7 @@ elseif(MINGW OR MSVC) set(CPACK_TOPLEVEL_TAG "Win32-${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}") set(CPACK_NSIS_MODIFY_PATH ON) set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON) - set(CPACK_GENERATOR ZIP;NSIS) + set(CPACK_GENERATOR ZIP;IFW;NSIS) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin) endif() include(CPack) \ No newline at end of file