File: FindNSIS.cmake

package info (click to toggle)
hugin 2024.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,568 kB
  • sloc: cpp: 127,783; ansic: 6,263; python: 1,156; perl: 701; xml: 150; sh: 64; makefile: 29
file content (16 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# - Find NSIS (makensis.exe)
# 2010 Matthew Petroff
# based on FindPANO13 by TKSharpless
# defines cache vars
#  MAKENSIS_EXECUTABLE, NSIS script compiler
#  NSIS_FOUND, yes if found

FIND_PROGRAM(MAKENSIS_EXECUTABLE
	NAMES makensis makensis.exe
	PATHS C:/progra~1/NSIS/
	)

IF(MAKENSIS_EXECUTABLE)
  SET(NSIS_FOUND "YES" )
ENDIF(MAKENSIS_EXECUTABLE)