Bump CMake version for interface target to 3.0

This commit is contained in:
Zbigniew Mandziejewicz
2015-07-06 19:37:08 +08:00
parent 98a736bcf1
commit eaefcc6689
3 changed files with 3 additions and 3 deletions

View File

@@ -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
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>