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 program.h is found
7 # PIKE_EXECUTABLE = full path to the pike binary
10 #=============================================================================
11 # Copyright 2004-2009 Kitware, Inc.
13 # Distributed under the OSI-approved BSD License (the "License");
14 # see accompanying file Copyright.txt for details.
16 # This software is distributed WITHOUT ANY WARRANTY; without even the
17 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 # See the License for more information.
19 #=============================================================================
20 # (To distribute this file outside of CMake, substitute the full
21 # License text for the above reference.)
23 file(GLOB PIKE_POSSIBLE_INCLUDE_PATHS
25 /usr/local/include/pike/*)
27 find_path(PIKE_INCLUDE_PATH program.h
28 ${PIKE_POSSIBLE_INCLUDE_PATHS})
30 find_program(PIKE_EXECUTABLE