1set(GLM_VERSION "@VERSION@") 2 3 4####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### 5get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) 6 7macro(set_and_check _var _file) 8 set(${_var} "${_file}") 9 if(NOT EXISTS "${_file}") 10 message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") 11 endif() 12endmacro() 13 14#################################################################################### 15 16set_and_check(GLM_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") 17 18if (NOT CMAKE_VERSION VERSION_LESS "3.0") 19 include("${CMAKE_CURRENT_LIST_DIR}/glmTargets.cmake") 20endif() 21