Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d9a4c commit 6e6e589Copy full SHA for 6e6e589
CMakeLists.txt
@@ -1,6 +1,8 @@
1
cmake_minimum_required(VERSION 3.6)
2
project(linuxdeploy-plugin-qt)
3
4
+option(INSTALL_LINUX_DEPLOY_APP "Decides if linuxdeploy application is installed with linuxdeployqt plugin" OFF)
5
+
6
include(CTest)
7
8
set(CMAKE_CXX_STANDARD 17)
lib/CMakeLists.txt
@@ -1 +1,5 @@
-add_subdirectory(linuxdeploy EXCLUDE_FROM_ALL)
+if ($CACHE{INSTALL_LINUX_DEPLOY_APP})
+ add_subdirectory(linuxdeploy)
+else ()
+ add_subdirectory(linuxdeploy EXCLUDE_FROM_ALL)
+endif ()
0 commit comments