aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindNSIS.cmake
blob: 250104c274284935241d72e5065ace9b25499b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# - Find NSIS
# Find the makensis command
#
#  MAKENSIS_EXECUTABLE - path to the makensis utility.
#  CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS - System runtime DLLs

# Find makensis
find_program(MAKENSIS_EXECUTABLE makensis
	PATH "$ENV{PROGRAMFILES}/NSIS" "$ENV{PROGRAMW6432}/NSIS"
	DOC "Path to the makensis utility."
)

set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
include(InstallRequiredSystemLibraries)