Closed abdes closed 6 years ago
Added a test for CMAKE version 3.0.0 or below to trigger the proper use of the VERSION variables.
Before 3.0.0, we define individually the cryptopp_VERSION_MAJOR, cryptopp_VERSION_MINOR and cryptopp_VERSION_PATCH.
From 3.0.0 onward we use the VERSION in the project() line and activate the new behavior of CMP0048 to avoid the warning and the future deprecation.
Added a test for CMAKE version 3.0.0 or below to trigger the proper use of the VERSION variables.
Before 3.0.0, we define individually the cryptopp_VERSION_MAJOR, cryptopp_VERSION_MINOR and cryptopp_VERSION_PATCH.
From 3.0.0 onward we use the VERSION in the project() line and activate the new behavior of CMP0048 to avoid the warning and the future deprecation.