summaryrefslogtreecommitdiffstats
path: root/Modules/FindPackageHandleStandardArgs.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-08-07 20:30:06 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-08-07 20:30:06 (GMT)
commit77d909b559be4c09a037a7a7eabef6fd76d77917 (patch)
tree066a1d4ca8e5fcde0c99eaf6c842ce3a37befca1 /Modules/FindPackageHandleStandardArgs.cmake
parent19b68b9faec1868fe6856aebda128a7b2fb3d887 (diff)
downloadCMake-77d909b559be4c09a037a7a7eabef6fd76d77917.zip
CMake-77d909b559be4c09a037a7a7eabef6fd76d77917.tar.gz
CMake-77d909b559be4c09a037a7a7eabef6fd76d77917.tar.bz2
Fix DETAILS string with version number in FHPSA()
If found, the version which was found should be stored in the DETAILS string, but it was dereferenced twice, which was wrong. Alex
Diffstat (limited to 'Modules/FindPackageHandleStandardArgs.cmake')
-rw-r--r--Modules/FindPackageHandleStandardArgs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake
index 389697e..8502c04 100644
--- a/Modules/FindPackageHandleStandardArgs.cmake
+++ b/Modules/FindPackageHandleStandardArgs.cmake
@@ -214,7 +214,7 @@ FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG _VAR1)
ENDIF (${_NAME}_FIND_VERSION)
IF(VERSION_OK)
- SET(DETAILS "${DETAILS}[v${${VERSION}}]")
+ SET(DETAILS "${DETAILS}[v${VERSION}]")
ELSE(VERSION_OK)
SET(${_NAME_UPPER}_FOUND FALSE)
ENDIF(VERSION_OK)