Skip to content

Commit b4c610a

Browse files
committed
Adding option to install linuxdeploy app with linuxdeploy qt plugin
1 parent fb4dcb8 commit b4c610a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.6)
22
project(linuxdeploy-plugin-qt)
33

4+
option(INSTALL_LINUX_DEPLOY_APP "Decides if linuxdeploy application is installed with linuxdeployqt plugin" OFF)
5+
46
include(CTest)
57

68
set(CMAKE_CXX_STANDARD 17)

lib/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
add_subdirectory(linuxdeploy EXCLUDE_FROM_ALL)
1+
if ($CACHE{INSTALL_LINUX_DEPLOY_APP})
2+
add_subdirectory(linuxdeploy)
3+
else ()
4+
add_subdirectory(linuxdeploy EXCLUDE_FROM_ALL)
5+
endif ()

0 commit comments

Comments
 (0)