mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
c044b9ae84
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()
|