Notes |
|
(0031754)
|
Alex Neundorf
|
2012-11-29 02:46
|
|
That's a nice one ;-)
This is the cmake code:
set(${_NAME_UPPER}_FOUND TRUE)
# check if all passed variables are valid
foreach(_CURRENT_VAR ${FPHSA_REQUIRED_VARS})
if(NOT ${_CURRENT_VAR})
set(${_NAME_UPPER}_FOUND FALSE)
set(MISSING_VARS "${MISSING_VARS} ${_CURRENT_VAR}")
endif()
endforeach()
So the _FOUND variable is initially set to TRUE, and only set to FALSE if something is missing. But since the _FOUND variable is the only thing which is checked, and this has been preset to TRUE, it is not missing...
|
|
|
(0031755)
|
Alex Neundorf
|
2012-11-29 03:24
|
|
This is now fixed in next and should be in 2.8.11.
|
|
|
(0031756)
|
Alex Neundorf
|
2012-11-29 03:25
|
|
...just for adding a comment |
|
|
(0031757)
|
Alex Neundorf
|
2012-11-29 03:25
|
|
It is the branch MinorFixFPHSA_13755, containing just this one commit:
4809cad FPHSA: don't succeed if only checking for XX_FOUND (0013755)
|
|