glm/glmConfig.cmake
Will Usher 224433b9ae Add a CMake Package config
- Also fix clang 7 use on travis CI
2019-11-01 21:05:44 -06:00

14 lines
387 B
CMake

cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
cmake_policy(VERSION 3.2)
set(GLM_VERSION 0.9.9)
# Set the old GLM_INCLUDE_DIRS variable for backwards compatibility
set(GLM_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR})
add_library(glm::glm INTERFACE IMPORTED)
set_target_properties(glm::glm PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR})
mark_as_advanced(glm_DIR)