From 12e39d75e43862b3974dbb0394033ba4ce8f001a Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Mon, 27 Feb 2017 21:32:33 +0100 Subject: [PATCH] Generate AppImage only with release builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f19d75..ab54da1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,7 +148,7 @@ install (FILES resources/icon/planetblupi.png DESTINATION share/planetblupi) ## Deploy ######### -if (USE_APPIMAGE) +if (USE_APPIMAGE AND ${CMAKE_BUILD_TYPE} STREQUAL "Release") include (LinuxAppImageBuild) set (CMAKE_PACKAGED_OUTPUT_PREFIX ${CMAKE_INSTALL_PREFIX}) APPIMAGE_PACKAGE (planetblupi "planetblupi" "${CMAKE_CURRENT_SOURCE_DIR}/resources/linux" "share" "" "")