Commit 37f02bee authored by camilo higuita's avatar camilo higuita

add cmake flag for appimage packing

parent ae31aabd
......@@ -13,6 +13,8 @@ include(ECMInstallIcons)
include(FeatureSummary)
include(ECMAddAppIcon)
option(IS_APPIMAGE_PACKAGE "If set to true then the icons and styled is packaged as well")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
......@@ -26,6 +28,10 @@ add_executable(index
src/qml.qrc
)
if(IS_APPIMAGE_PACKAGE)
target_compile_definitions(index PUBLIC APPIMAGE_PACKAGE)
endif()
if (ANDROID)
find_package(Qt5 REQUIRED COMPONENTS AndroidExtras)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment