aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 780d1d7ca7..7ac850c136 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2139,6 +2139,16 @@ if (WIN32)
ADD_NSIS_UNINSTALLER_TARGET()
ADD_NSIS_PACKAGE_TARGET()
endif()
+
+ find_package( PortableApps )
+ if (
+ NOT "${PORTABLEAPPS_LAUNCHER_GENERATOR_EXECUTABLE}" STREQUAL "PORTABLEAPPS_LAUNCHER_GENERATOR_EXECUTABLE-NOTFOUND"
+ AND
+ NOT "${PORTABLEAPPS_INSTALLER_EXECUTABLE}" STREQUAL "PORTABLEAPPS_INSTALLER_EXECUTABLE-NOTFOUND"
+ )
+ add_subdirectory( packaging/portableapps EXCLUDE_FROM_ALL )
+ ADD_PORTABLEAPPS_PACKAGE_TARGET()
+ endif()
endif()
if(BUILD_androiddump)