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
This commit is contained in:
parent
19b68b9fae
commit
77d909b559
|
@ -214,7 +214,7 @@ FUNCTION(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FIRST_ARG _VAR1)
|
||||||
ENDIF (${_NAME}_FIND_VERSION)
|
ENDIF (${_NAME}_FIND_VERSION)
|
||||||
|
|
||||||
IF(VERSION_OK)
|
IF(VERSION_OK)
|
||||||
SET(DETAILS "${DETAILS}[v${${VERSION}}]")
|
SET(DETAILS "${DETAILS}[v${VERSION}]")
|
||||||
ELSE(VERSION_OK)
|
ELSE(VERSION_OK)
|
||||||
SET(${_NAME_UPPER}_FOUND FALSE)
|
SET(${_NAME_UPPER}_FOUND FALSE)
|
||||||
ENDIF(VERSION_OK)
|
ENDIF(VERSION_OK)
|
||||||
|
|
Loading…
Reference in New Issue