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 2010-09-27 22:08:14 +02:00
parent 993cfc9406
commit 567ac0bb1f
1 changed files with 1 additions and 1 deletions

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)