summaryrefslogtreecommitdiffstats
path: root/Modules/FindPHP4.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 13:51:46 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-04 13:51:46 (GMT)
commita06debcde91866c005e88cb9d805a3351859aeef (patch)
tree266bb5d880fc7e4e05641313a6d58df49091eb14 /Modules/FindPHP4.cmake
parentb4a1f442bbaaaa5c1260e87ae7e8e488c8ccef16 (diff)
downloadCMake-a06debcde91866c005e88cb9d805a3351859aeef.zip
CMake-a06debcde91866c005e88cb9d805a3351859aeef.tar.gz
CMake-a06debcde91866c005e88cb9d805a3351859aeef.tar.bz2
FindPHP4: Drop extra content from reported PHP4_INCLUDE_PATH (#14540)
The set() call for this variable left out the CACHE keyword. It does not need to be cached anyway, so drop the other CACHE set() signature arguments. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722475 Reported-by: Modestas Vainius <modax@debian.org> Inspired-by: Mathieu Malaterre <malat@debian.org>
Diffstat (limited to 'Modules/FindPHP4.cmake')
-rw-r--r--Modules/FindPHP4.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPHP4.cmake b/Modules/FindPHP4.cmake
index 51a89f3..25fff8c 100644
--- a/Modules/FindPHP4.cmake
+++ b/Modules/FindPHP4.cmake
@@ -46,7 +46,7 @@ if(PHP4_FOUND_INCLUDE_PATH)
foreach(php4_path Zend main TSRM)
set(php4_paths ${php4_paths} "${PHP4_FOUND_INCLUDE_PATH}/${php4_path}")
endforeach()
- set(PHP4_INCLUDE_PATH "${php4_paths}" INTERNAL "PHP4 include paths")
+ set(PHP4_INCLUDE_PATH "${php4_paths}")
endif()
find_program(PHP4_EXECUTABLE NAMES php4 php )