[glm] Fix missing include dir reference by moving include(GNUInstallDirs). Fixes #6461. (#6466)

This commit is contained in:
Robert Schumacher 2019-05-15 14:37:53 -07:00 committed by GitHub
parent d112af9f17
commit 8873d771c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
project(glm LANGUAGES CXX)
include(GNUInstallDirs)
add_library(glm INTERFACE)
target_include_directories(glm INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
include(GNUInstallDirs)
install(
TARGETS glm EXPORT glm-config
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/

View File

@ -1,3 +1,3 @@
Source: glm
Version: 0.9.9.5-2
Version: 0.9.9.5-3
Description: OpenGL Mathematics (GLM) https://glm.g-truc.net