summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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})