Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use execute_process instead of exec_program in FindAPACHE.cmake
  • Loading branch information
Ezequiel Lara Gómez committed Jul 1, 2014
1 parent a8bd410 commit bdd9c42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/FindAPACHE.cmake
Expand Up @@ -19,8 +19,7 @@ if(NOT DEFINED APACHE_MODULE_DIR)
)

if(APXS_BIN)
EXEC_PROGRAM(${APXS_BIN}
ARGS -q LIBEXECDIR
EXECUTE_PROCESS(COMMAND ${APXS_BIN} -q LIBEXECDIR
OUTPUT_VARIABLE APACHE_MODULE_DIR )
endif(APXS_BIN)
endif(NOT DEFINED APACHE_MODULE_DIR)
Expand Down

0 comments on commit bdd9c42

Please sign in to comment.