diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-09-27 20:08:14 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-09-27 20:08:14 (GMT) |
commit | 567ac0bb1f1b89cd7c8b28435979a0ce023dca8a (patch) | |
tree | 014f5919d0f26455c8de74475cb05717dd9b1ffc /Modules | |
parent | 993cfc94068504817a8b3ce7dc6f9ac661e59563 (diff) | |
download | CMake-567ac0bb1f1b89cd7c8b28435979a0ce023dca8a.zip CMake-567ac0bb1f1b89cd7c8b28435979a0ce023dca8a.tar.gz CMake-567ac0bb1f1b89cd7c8b28435979a0ce023dca8a.tar.bz2 |
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
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) |