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
12 /usr/local/include/pike/*)
14 FIND_PATH(PIKE_INCLUDE_PATH program.h
15 ${PIKE_POSSIBLE_INCLUDE_PATHS})
17 FIND_PROGRAM(PIKE_EXECUTABLE