From 8873d771c8f5a3f45ba066bc49147beded65fb94 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Wed, 15 May 2019 14:37:53 -0700 Subject: [PATCH] [glm] Fix missing include dir reference by moving include(GNUInstallDirs). Fixes #6461. (#6466) --- ports/glm/CMakeLists.txt | 4 ++-- ports/glm/CONTROL | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/glm/CMakeLists.txt b/ports/glm/CMakeLists.txt index 006e7182ec..678604b867 100644 --- a/ports/glm/CMakeLists.txt +++ b/ports/glm/CMakeLists.txt @@ -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 $) -include(GNUInstallDirs) - install( TARGETS glm EXPORT glm-config RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/ diff --git a/ports/glm/CONTROL b/ports/glm/CONTROL index b8c088f59a..3bea7f0edd 100644 --- a/ports/glm/CONTROL +++ b/ports/glm/CONTROL @@ -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