mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
Add a test for this case to verify the messages. This test will also be valuable to cover this code path in which we've had several regressions recently.
8 lines
200 B
CMake
8 lines
200 B
CMake
set(PACKAGE_VERSION 1.12345)
|
|
if(PACKAGE_FIND_VERSION_MAJOR EQUAL 1)
|
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
|
if(PACKAGE_FIND_VERSION_MINOR EQUAL 12345)
|
|
set(PACKAGE_VERSION_EXACT 1)
|
|
endif()
|
|
endif()
|