mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
224433b9ae
- Also fix clang 7 use on travis CI
14 lines
387 B
CMake
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)
|
|
|