Also store the required version number in the details message.

This way the success/failure message of FPHSA() is also printed again
if the required version is changed.

Alex
This commit is contained in:
Alex Neundorf committed 2010-09-27 22:08:14 +02:00
1 parent 993cfc9406
commit 567ac0bb1f
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG)
ENDIF (${_NAME}_FIND_VERSION)
IF(VERSION_OK)
SET(DETAILS "${DETAILS}[v${VERSION}]")
SET(DETAILS "${DETAILS}[v${VERSION}(${${_NAME}_FIND_VERSION})]")
ELSE(VERSION_OK)
SET(${_NAME_UPPER}_FOUND FALSE)
ENDIF(VERSION_OK)