From 3eced4a2229cb4e6c1b7b92397b01b356cbdfedd Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 10 Jul 2007 21:38:34 -0400 Subject: STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM() Alex --- Modules/FindKDE4.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindKDE4.cmake b/Modules/FindKDE4.cmake index 7a3a8e7..1344d91 100644 --- a/Modules/FindKDE4.cmake +++ b/Modules/FindKDE4.cmake @@ -27,7 +27,7 @@ ENDIF (NOT KDE4_KDECONFIG_EXECUTABLE) IF (KDE4_KDECONFIG_EXECUTABLE) # then ask kde4-config for the kde data dirs - EXEC_PROGRAM(${KDE4_KDECONFIG_EXECUTABLE} ARGS --path data OUTPUT_VARIABLE _data_DIR ) + EXECUTE_PROCESS(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}" --path data OUTPUT_VARIABLE _data_DIR ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) FILE(TO_CMAKE_PATH "${_data_DIR}" _data_DIR) -- cgit v0.12