summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-29 09:21:23 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-03-29 09:21:23 (GMT)
commit8621d149a36ba585162eb02262fed756e9d89537 (patch)
tree07d395ba4f22c6d151b6fb791f33521425f8016d
parente2a586e4a6442a80f44f46d8a5acfb42788ffba6 (diff)
downloadlibkolabxml-8621d149a36ba585162eb02262fed756e9d89537.tar.gz
Correct indentation level
-rw-r--r--src/php/CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt
index 583f7bd..e0a83e8 100644
--- a/src/php/CMakeLists.txt
+++ b/src/php/CMakeLists.txt
@@ -3,12 +3,13 @@ include_directories(../)
set(KOLAB_SWIG_PHP_SOURCE_FILE php_kolabformat_wrapper.cpp)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${KOLAB_SWIG_PHP_SOURCE_FILE}
- COMMAND ${SWIG} -v -c++ -php -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
- VERBATIM
+ COMMAND ${SWIG} -v -c++ -php -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
+ VERBATIM
)
+
SET_SOURCE_FILES_PROPERTIES(${KOLAB_SWIG_PHP_SOURCE_FILE} PROPERTIES GENERATED 1)
ADD_CUSTOM_TARGET(generate_php_bindings ALL DEPENDS ${KOLAB_SWIG_PHP_SOURCE_FILE})