qt5base-lts/mkspecs/features/data/cmake/Qt5ConfigVersion.cmake.in

12 lines
305 B
CMake
Raw Normal View History

set(PACKAGE_VERSION $$CMAKE_PACKAGE_VERSION)
if(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()