STYLE: Nightly Version update
[cmake.git] / Modules / FindPike.cmake
blob06f04b9551e7c21f684413695dd098ffd5bdf30f
2 # This module finds if PIKE is installed and determines where the include files
3 # and libraries are. It also determines what the name of the library is. This
4 # code sets the following variables:
6 #  PIKE_INCLUDE_PATH       = path to where object.h can be found
7 #  PIKE_EXECUTABLE         = full path to the pike binary
10 FILE(GLOB PIKE_POSSIBLE_INCLUDE_PATHS
11   /usr/include/pike/*
12   /usr/local/include/pike/*)
14 FIND_PATH(PIKE_INCLUDE_PATH program.h
15   ${PIKE_POSSIBLE_INCLUDE_PATHS})
17 FIND_PROGRAM(PIKE_EXECUTABLE
18   NAMES pike7.4
19   PATHS
20   /usr/bin
21   /usr/local/bin
22   )
24 MARK_AS_ADVANCED(
25   PIKE_EXECUTABLE
26   PIKE_INCLUDE_PATH
27   )