myx/MyxCMake/MyxCMakeConfigVersion.cmake

10 lines
295 B
CMake
Raw Normal View History

2023-07-27 11:27:39 +00:00
set(MYX_CMAKE_PACKAGE_VERSION "2.3.7")
2022-09-28 22:48:13 +00:00
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()