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>
This commit is contained in:
Brad King 2013-11-04 08:51:46 -05:00
parent b4a1f442bb
commit a06debcde9
1 changed files with 1 additions and 1 deletions

View File

@ -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 )