diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-13 18:21:12 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-13 18:21:12 -0800 |
commit | ef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch) | |
tree | 6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Modules/FindPike.cmake | |
parent | 035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff) | |
download | cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.gz cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.bz2 cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.zip |
Imported Upstream version 2.8.10.2upstream/2.8.10.2
Diffstat (limited to 'Modules/FindPike.cmake')
-rw-r--r-- | Modules/FindPike.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindPike.cmake b/Modules/FindPike.cmake index 125e42832..5b48ab4e7 100644 --- a/Modules/FindPike.cmake +++ b/Modules/FindPike.cmake @@ -20,18 +20,18 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) -FILE(GLOB PIKE_POSSIBLE_INCLUDE_PATHS +file(GLOB PIKE_POSSIBLE_INCLUDE_PATHS /usr/include/pike/* /usr/local/include/pike/*) -FIND_PATH(PIKE_INCLUDE_PATH program.h +find_path(PIKE_INCLUDE_PATH program.h ${PIKE_POSSIBLE_INCLUDE_PATHS}) -FIND_PROGRAM(PIKE_EXECUTABLE +find_program(PIKE_EXECUTABLE NAMES pike7.4 ) -MARK_AS_ADVANCED( +mark_as_advanced( PIKE_EXECUTABLE PIKE_INCLUDE_PATH ) |