aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindNSIS.cmake8
1 files changed, 1 insertions, 7 deletions
diff --git a/cmake/Modules/FindNSIS.cmake b/cmake/Modules/FindNSIS.cmake
index 9bc6d395..98a17c78 100644
--- a/cmake/Modules/FindNSIS.cmake
+++ b/cmake/Modules/FindNSIS.cmake
@@ -24,19 +24,13 @@ set(_NSIS_ROOT_PATHS
"$ENV{PROGRAMFILES}/NSIS"
)
-find_path(NSIS_ROOT_PATHS
- NAMES
- NSIS.exe
- PATHS
- ${_NSIS_ROOT_PATHS}
-)
-
find_program(NSIS_MAKE
NAMES
makensis
PATHS
${NSIS_ROOT_PATH}
${NSIS_ROOT_PATH}/Bin
+ ${_NSIS_ROOT_PATHS}
)
include(FindPackageHandleStandardArgs)