myx-cmake-example-features/cmake/myx/MyxCMakeConfigVersion.cmake
2022-10-20 12:53:06 +03:00

10 lines
296 B
CMake

set(MYX_CMAKE_PACKAGE_VERSION "2.0.31")
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()