mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03: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()
|