# Once done this will define # # PHP_FOUND - System has PHP # PHP_EXECUTABLE - Path to PHP executable (cli php executable) # # Copyright (c) 2015 EngSaS # IF(NOT PHP_FOUND) FIND_PROGRAM(PHP_EXECUTABLE WIN32_DEBUG_POSTFIX d NAMES php HINTS "C:/Program Files" "C:/Program Files (x86)" ) IF(PHP_EXECUTABLE) SET(PHP_FOUND TRUE) ENDIF(PHP_EXECUTABLE) ENDIF(NOT PHP_FOUND)