cmake: Set the PACKAGE_VERSION correctly

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 15ab612592)
This commit is contained in:
Andreas Schneider
2018-08-13 08:45:04 +02:00
parent 9c6b4ecb48
commit 852a8b4875

View File

@@ -1,4 +1,4 @@
set(PACKAGE_VERSION @APPLICATION_VERSION@)
set(PACKAGE_VERSION @PROJECT_VERSION@)
# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")