cmake/modules

Christian Mollekopf mollekopf at kolabsys.com
Thu Aug 9 17:43:40 CEST 2012


 cmake/modules/SWIGUtils.cmake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bc2c49c90cddd6a2f5d975d692606b747e503a7c
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Thu Aug 9 17:43:34 2012 +0200

    we don't want the folder hierarchy in php

diff --git a/cmake/modules/SWIGUtils.cmake b/cmake/modules/SWIGUtils.cmake
index 63c5b68..05c1bb3 100644
--- a/cmake/modules/SWIGUtils.cmake
+++ b/cmake/modules/SWIGUtils.cmake
@@ -37,11 +37,11 @@ macro (generatePHPBindings MODULE_NAME INTERFACE_FILE)
 
         set(PHP_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/phpbindings" CACHE STRING "Install directory for php bindings.")
 
-        install(TARGETS ${MODULE_NAME}_phpbindings LIBRARY DESTINATION ${PHP_INSTALL_DIR}/kolab)
+        install(TARGETS ${MODULE_NAME}_phpbindings LIBRARY DESTINATION ${PHP_INSTALL_DIR})
 
         install( FILES
             ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.php
-            DESTINATION ${PHP_INSTALL_DIR}/kolab
+            DESTINATION ${PHP_INSTALL_DIR}
         )
     else(PHP4_FOUND)
         message(WARNING "not building php bindings because php was not found")





More information about the commits mailing list