diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-09-29 11:02:23 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-09-29 11:06:09 (GMT) |
commit | 212b0afb66d293bb88261710a3365f95b8104898 (patch) | |
tree | f41da17c590f760f171b068701970bda08ebc030 /Tests/RunCMake/find_package/VersionRange.cmake | |
parent | 1382002ae2e78ea8bcda7f97be9130246ea40b11 (diff) | |
download | CMake-212b0afb66d293bb88261710a3365f95b8104898.zip CMake-212b0afb66d293bb88261710a3365f95b8104898.tar.gz CMake-212b0afb66d293bb88261710a3365f95b8104898.tar.bz2 |
find_package: raise error on empty version range
Diffstat (limited to 'Tests/RunCMake/find_package/VersionRange.cmake')
-rw-r--r-- | Tests/RunCMake/find_package/VersionRange.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/VersionRange.cmake b/Tests/RunCMake/find_package/VersionRange.cmake index b3d8950..30b88a8 100644 --- a/Tests/RunCMake/find_package/VersionRange.cmake +++ b/Tests/RunCMake/find_package/VersionRange.cmake @@ -3,6 +3,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}") set (VersionRange_SPECIFIED_VERSION_COMPLETE 1.2.3.4...5.6.7.8) set (VersionRange_SPECIFIED_VERSION_RANGE 1.2.3.4...5.6.7.8) +set (VersionRange_SPECIFIED_VERSION_MIN 1.2.3.4) +set (VersionRange_SPECIFIED_VERSION_MIN_MAJOR 1) +set (VersionRange_SPECIFIED_VERSION_MIN_MINOR 2) +set (VersionRange_SPECIFIED_VERSION_MIN_PATCH 3) +set (VersionRange_SPECIFIED_VERSION_MIN_TWEAK 4) set (VersionRange_SPECIFIED_VERSION_MAX 5.6.7.8) set (VersionRange_SPECIFIED_VERSION_MAX_MAJOR 5) set (VersionRange_SPECIFIED_VERSION_MAX_MINOR 6) |