[Kde-bindings] KDE/kdebindings/cmake/modules
Thomas Moenicke
tm at php-qt.org
Sun Jun 29 21:22:53 UTC 2008
SVN commit 826114 by moenicke:
* fixed a warning that complains empty list elemens
CCMAIL: kde-bindings at kde.org
M +3 -2 FindPHP5.cmake
--- trunk/KDE/kdebindings/cmake/modules/FindPHP5.cmake #826113:826114
@@ -140,8 +140,9 @@
EXECUTE_PROCESS(COMMAND ${PHP5_CONFIG_EXECUTABLE} --includes
OUTPUT_VARIABLE PHP5_INCLUDES)
- STRING(REPLACE "-I" ";" PHP5_INCLUDES "${PHP5_INCLUDES}")
- STRING(REPLACE " " "" PHP5_INCLUDES "${PHP5_INCLUDES}")
+ STRING(REPLACE "-I" "" PHP5_INCLUDES "${PHP5_INCLUDES}")
+ STRING(REPLACE " " ";" PHP5_INCLUDES "${PHP5_INCLUDES}")
+ STRING(REPLACE "\n" "" PHP5_INCLUDES "${PHP5_INCLUDES}")
LIST(GET PHP5_INCLUDES 0 PHP5_INCLUDE_DIR)
set(PHP5_MAIN_INCLUDE_DIR ${PHP5_INCLUDE_DIR}/main)
More information about the Kde-bindings
mailing list