CMake: Use standard variables for the version

This commit is contained in:
Max Bruckner committed 2016-11-14 19:14:12 +07:00
1 parent de992ec3c9
commit 8a838b37e3
2 files changed
+8 -8

No files matched your search

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