diff --git a/CMakeLists.txt b/CMakeLists.txt index 962fa640..860a6eed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -177,7 +177,7 @@ install( DESTINATION ${GLM_INSTALL_CONFIGDIR} ) -if (NOT CMAKE_VERSION VERSION_LESS "2.8.12") +if (NOT CMAKE_VERSION VERSION_LESS "3.0") add_library(glm INTERFACE) target_include_directories(glm INTERFACE $ diff --git a/cmake/glmBuildConfig.cmake.in b/cmake/glmBuildConfig.cmake.in index bec9af30..1258dea1 100644 --- a/cmake/glmBuildConfig.cmake.in +++ b/cmake/glmBuildConfig.cmake.in @@ -1,6 +1,6 @@ set(GLM_VERSION "@GLM_VERSION@") set(GLM_INCLUDE_DIRS "@CMAKE_CURRENT_SOURCE_DIR@") -if (NOT CMAKE_VERSION VERSION_LESS "2.8.12") +if (NOT CMAKE_VERSION VERSION_LESS "3.0") include("${CMAKE_CURRENT_LIST_DIR}/glmTargets.cmake") endif() diff --git a/cmake/glmConfig.cmake.in b/cmake/glmConfig.cmake.in index 3f8a1fe5..37d5ad81 100644 --- a/cmake/glmConfig.cmake.in +++ b/cmake/glmConfig.cmake.in @@ -4,6 +4,6 @@ set(GLM_VERSION "@GLM_VERSION@") set_and_check(GLM_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@") -if (NOT CMAKE_VERSION VERSION_LESS "2.8.12") +if (NOT CMAKE_VERSION VERSION_LESS "3.0") include("${CMAKE_CURRENT_LIST_DIR}/glmTargets.cmake") endif()