mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
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:
parent
993cfc9406
commit
567ac0bb1f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user