[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebindings/cmake/modules
From:       Thomas Moenicke <tm () php-qt ! org>
Date:       2008-06-29 21:22:53
Message-ID: 1214774573.609676.14654.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 826114 by moenicke:

* fixed a warning that complains empty list elemens
CCMAIL: kde-bindings@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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic