From 2c845302270bf4a9a02ce7f9b3f7a3c8e1f63e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C3=B3jcik?= Date: Tue, 17 Mar 2020 20:07:08 +0100 Subject: [PATCH] Fix glmConfig-version.cmake using undefined variable --- cmake/glm/glmConfig-version.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/glm/glmConfig-version.cmake b/cmake/glm/glmConfig-version.cmake index 69837ee6..e70a29af 100644 --- a/cmake/glm/glmConfig-version.cmake +++ b/cmake/glm/glmConfig-version.cmake @@ -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()