mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 15:23:53 +00:00
Merge pull request #1003 from wojcikt/fix-cmake-config
Fix glmConfig-version.cmake using undefined variable #1003
This commit is contained in:
commit
2a2008df33
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
set(PACKAGE_VERSION 0.9.9)
|
||||
|
||||
if(${PACKAGE_FIND_VERSION_MAJOR} EQUAL 0)
|
||||
if (${PACKAGE_FIND_VERSION} VERSION_LESS ${GLM_VERSION})
|
||||
if (${PACKAGE_FIND_VERSION} VERSION_LESS ${PACKAGE_VERSION})
|
||||
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||||
endif()
|
||||
if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${GLM_VERSION})
|
||||
if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION})
|
||||
set(PACKAGE_VERSION_EXACT 1)
|
||||
endif()
|
||||
else()
|
||||
|
|
Loading…
Add table
Reference in a new issue