diff options
author | Brad King <brad.king@kitware.com> | 2010-09-28 18:05:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-09-28 18:05:15 (GMT) |
commit | dbf7664c996037367119754e277f66ab84e52e84 (patch) | |
tree | afc2e95bc933a99307ef8c550e736ec4c7ff2b3d /Modules | |
parent | 3398ec7d6f5bb6d25edbbd079df7058819c8d60e (diff) | |
parent | 567ac0bb1f1b89cd7c8b28435979a0ce023dca8a (diff) | |
download | CMake-dbf7664c996037367119754e277f66ab84e52e84.zip CMake-dbf7664c996037367119754e277f66ab84e52e84.tar.gz CMake-dbf7664c996037367119754e277f66ab84e52e84.tar.bz2 |
Merge topic 'PutRequiredVersionInDetailMessageInFPHSA'
567ac0b Also store the required version number in the details message.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPackageHandleStandardArgs.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake index cd33aa3..1acb021 100644 --- a/Modules/FindPackageHandleStandardArgs.cmake +++ b/Modules/FindPackageHandleStandardArgs.cmake @@ -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) |