12 lines
325 B
CMake
12 lines
325 B
CMake
if(${PACKAGE_FIND_VERSION_MAJOR} EQUAL 0)
|
|
if (${PACKAGE_FIND_VERSION} VERSION_LESS ${GLM_VERSION})
|
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
|
endif()
|
|
if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${GLM_VERSION})
|
|
set(PACKAGE_VERSION_EXACT 1)
|
|
endif()
|
|
else()
|
|
set(PACKAGE_VERSION_UNSUITABLE 1)
|
|
endif()
|
|
|