summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindPortableApps.cmake
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /cmake/modules/FindPortableApps.cmake
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cmake/modules/FindPortableApps.cmake')
-rw-r--r--cmake/modules/FindPortableApps.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/cmake/modules/FindPortableApps.cmake b/cmake/modules/FindPortableApps.cmake
new file mode 100644
index 0000000..17ee15a
--- /dev/null
+++ b/cmake/modules/FindPortableApps.cmake
@@ -0,0 +1,26 @@
+#
+# - Find PortableApps
+# Find the PortableApps LauncherGenerator and Installer commands
+#
+# PORTABLEAPPS_LAUNCHER_GENERATOR_EXECUTABLE - path to the PortableApps.comLauncherGenerator utility.
+# PORTABLEAPPS_INSTALLER_EXECUTABLE - path to the PortableApps.comInstaller utility.
+
+# Find PortableApps.comLauncherGenerator
+find_program(PORTABLEAPPS_LAUNCHER_GENERATOR_EXECUTABLE PortableApps.comLauncherGenerator
+ PATH
+ "C:/PortableApps/PortableApps.comLauncher"
+ "$ENV{USERPROFILE}/PortableApps/PortableApps.comLauncher"
+ DOC "Path to the PortableApps.comLauncherGenerator utility."
+)
+
+# Find PortableApps.comInstaller
+find_program(PORTABLEAPPS_INSTALLER_EXECUTABLE PortableApps.comInstaller
+ PATH
+ "C:/PortableApps/PortableApps.comInstaller"
+ "$ENV{USERPROFILE}/PortableApps/PortableApps.comInstaller"
+ DOC "Path to the PortableApps.comInstaller utility."
+)
+
+# Assume that FindNSIS has taken care of this for us.
+# set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
+# include(InstallRequiredSystemLibraries)