Skip to content

Commit bdd9c42

Browse files
author
Ezequiel Lara Gómez
committed
use execute_process instead of exec_program in FindAPACHE.cmake
1 parent a8bd410 commit bdd9c42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/FindAPACHE.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ if(NOT DEFINED APACHE_MODULE_DIR)
1919
)
2020

2121
if(APXS_BIN)
22-
EXEC_PROGRAM(${APXS_BIN}
23-
ARGS -q LIBEXECDIR
22+
EXECUTE_PROCESS(COMMAND ${APXS_BIN} -q LIBEXECDIR
2423
OUTPUT_VARIABLE APACHE_MODULE_DIR )
2524
endif(APXS_BIN)
2625
endif(NOT DEFINED APACHE_MODULE_DIR)

0 commit comments

Comments
 (0)