The version file that already existed looks like it was generated by this module. Replace it with proper usage of the module.pull/20765/head
parent
14055e24d0
commit
0f2ad2a06c
2 changed files with 12 additions and 18 deletions
@ -1,11 +0,0 @@ |
|||||||
set(PACKAGE_VERSION "@PACKAGE_VERSION@") |
|
||||||
|
|
||||||
# Check whether the requested PACKAGE_FIND_VERSION is compatible |
|
||||||
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") |
|
||||||
set(PACKAGE_VERSION_COMPATIBLE FALSE) |
|
||||||
else() |
|
||||||
set(PACKAGE_VERSION_COMPATIBLE TRUE) |
|
||||||
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") |
|
||||||
set(PACKAGE_VERSION_EXACT TRUE) |
|
||||||
endif() |
|
||||||
endif() |
|
Loading…
Reference in new issue