summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas B <roundcube@gmail.com>2012-04-24 07:41:27 (GMT)
committerThomas B <roundcube@gmail.com>2012-04-24 07:41:27 (GMT)
commit2431cf8b6a92f63d321efc7b7831165f325be18a (patch)
treedd60f0dde078c5bd40f97b03334d0d9513ecae47
parent12a38d6db9a200453e5c7640d33754ff99061f15 (diff)
downloadlibkolabxml-2431cf8b6a92f63d321efc7b7831165f325be18a.tar.gz
Partially revert ad79c1c7 due to stupid CMake rookieness
-rw-r--r--src/php/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt
index fb10d58..f21e8d2 100644
--- a/src/php/CMakeLists.txt
+++ b/src/php/CMakeLists.txt
@@ -31,9 +31,7 @@ if (PHP4_FOUND)
configure_file(test.php ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
- if (NOT PHP_INSTALL_DIR)
- set(PHP_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/phpbindings" CACHE STRING "Install directory for php bindings.")
- endif()
+ set(PHP_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/phpbindings" CACHE STRING "Install directory for php bindings.")
install(TARGETS phpbindings LIBRARY DESTINATION ${PHP_INSTALL_DIR})