glfw/src/glfwConfigVersion.cmake.in
2013-05-14 01:03:51 +02:00

13 lines
312 B
CMake

set(PACKAGE_VERSION "@GLFW_VERSION_FULL@")
if ("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@GLFW_VERSION_MAJOR@")
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_FIND_VERSION_MINOR}" EQUAL @GLFW_VERSION_MINOR@)
set(PACKAGE_VERSION_EXACT TRUE)
endif()
else()
set(PACKAGE_VERSION_COMPATIBLE FALSE)
endif()