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:
parent
b4a1f442bb
commit
a06debcde9
|
@ -46,7 +46,7 @@ if(PHP4_FOUND_INCLUDE_PATH)
|
||||||
foreach(php4_path Zend main TSRM)
|
foreach(php4_path Zend main TSRM)
|
||||||
set(php4_paths ${php4_paths} "${PHP4_FOUND_INCLUDE_PATH}/${php4_path}")
|
set(php4_paths ${php4_paths} "${PHP4_FOUND_INCLUDE_PATH}/${php4_path}")
|
||||||
endforeach()
|
endforeach()
|
||||||
set(PHP4_INCLUDE_PATH "${php4_paths}" INTERNAL "PHP4 include paths")
|
set(PHP4_INCLUDE_PATH "${php4_paths}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_program(PHP4_EXECUTABLE NAMES php4 php )
|
find_program(PHP4_EXECUTABLE NAMES php4 php )
|
||||||
|
|
Loading…
Reference in New Issue