diff --git a/cmake/glm/glmConfig-version.cmake b/cmake/glm/glmConfig-version.cmake index e70a29af..6e63a4a3 100644 --- a/cmake/glm/glmConfig-version.cmake +++ b/cmake/glm/glmConfig-version.cmake @@ -1,10 +1,8 @@ -set(PACKAGE_VERSION 0.9.9) - if(${PACKAGE_FIND_VERSION_MAJOR} EQUAL 0) - if (${PACKAGE_FIND_VERSION} VERSION_LESS ${PACKAGE_VERSION}) + if (${PACKAGE_FIND_VERSION} VERSION_LESS ${GLM_VERSION}) set(PACKAGE_VERSION_COMPATIBLE 1) endif() - if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION}) + if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${GLM_VERSION}) set(PACKAGE_VERSION_EXACT 1) endif() else()