File: FindPortableApps.cmake

package info (click to toggle)
wireshark 4.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 351,436 kB
  • sloc: ansic: 3,103,613; cpp: 129,736; xml: 100,978; python: 56,510; perl: 24,575; sh: 5,874; lex: 4,383; pascal: 4,304; makefile: 164; ruby: 113; objc: 91; tcl: 35
file content (26 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)