blob: b49204ca30e79b5aaac2a01110b2e9e560f9596c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/php/CMakeLists.txt 2016-12-25 01:05:21.318045753 +0100
+++ b/src/php/CMakeLists.txt 2016-12-24 19:12:19.288351859 +0100
@@ -3,7 +3,7 @@
set(KOLAB_SWIG_PHP_SOURCE_FILE php_kolabformat_wrapper.cpp)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php
- COMMAND ${SWIG} -v -c++ -php -o ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ../kolabformat.i
+ COMMAND ${SWIG} -v -c++ -php7 -o ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE} ../kolabformat.i
COMMENT "Generating php bindings"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ../kolabformat.i kolabxml
|