CMake: Use standard variables for the version
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user