1
1
libssh/cmake/Modules/FindNSIS.cmake

27 строки
612 B
CMake
Исходник Обычный вид История

2010-07-13 15:19:06 +04:00
# - Try to find NSIS
# Once done this will define
#
# NSIS_FOUND - system has NSIS
# NSIS_MAKE - NSIS creator executable
#
# Copyright (c) 2010 Andreas Schneider <mail@cynapses.org>
#
# Redistribution and use is allowed according to the terms of the New
# BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
2010-12-30 02:26:37 +03:00
find_program(NSIS_MAKE
NAMES
makensis
PATHS
${_NSIS_DIR}
${_NSIS_DIR}/Bin
$ENV{PROGRAMFILES}/NSIS
)
2010-07-13 15:19:06 +04:00
2010-12-30 02:26:37 +03:00
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(NSIS DEFAULT_MSG NSIS_MAKE)
2010-07-13 15:19:06 +04:00
2010-12-30 02:26:37 +03:00
mark_as_advanced(NSIS_MAKE)