aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-01-16 12:21:58 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-01-16 12:21:58 +0100
commitcb775092bce546268077bf3145631a472956ac27 (patch)
tree39e2a12de3f5761e0e6dd1f5948fc4ab723e26e6 /cmake/Modules
parent8d7d313498bcf51b30e2d99dd291f80d008f3625 (diff)
downloadlibssh-cb775092bce546268077bf3145631a472956ac27.tar.gz
libssh-cb775092bce546268077bf3145631a472956ac27.tar.xz
libssh-cb775092bce546268077bf3145631a472956ac27.zip
cmake: Fixed NSIS module.
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 9bc6d39..98a17c7 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)