Accepting request 697481 from home:manfred-h

- Ensure glmConfig.cmake gets installed:
  * glm-cmake-config.patch

OBS-URL: https://build.opensuse.org/request/show/697481
OBS-URL: https://build.opensuse.org/package/show/science/glm?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2019-04-25 07:42:14 +00:00 committed by Git OBS Bridge
parent 018f8ec577
commit 536f65922e
3 changed files with 11 additions and 6 deletions

View File

@ -1,8 +1,6 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10bb1af..7514d3a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -253,13 +253,12 @@ configure_file(cmake/glmBuildConfig.cmake.in glmConfig.cmake @ONLY)
--- glm-0.9.9.5.orig/CMakeLists.txt 2019-04-02 11:28:25.000000000 +0200
+++ glm-0.9.9.5/CMakeLists.txt 2019-04-24 12:03:48.074253826 +0200
@@ -253,13 +253,13 @@ configure_file(cmake/glmBuildConfig.cmak
# install tree package config
configure_package_config_file(
cmake/glmConfig.cmake.in
@ -15,6 +13,7 @@ index 10bb1af..7514d3a 100644
install(FILES
- "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
DESTINATION ${GLM_INSTALL_CONFIGDIR})

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 24 10:05:48 UTC 2019 - Manfred Hollstein <manfred.h@gmx.net>
- Ensure glmConfig.cmake gets installed:
* glm-cmake-config.patch
-------------------------------------------------------------------
Sun Apr 14 19:07:08 UTC 2019 - Sagi <sagiben@gmail.com>

View File

@ -22,7 +22,7 @@ Release: 0
Summary: Header only C++ mathematics library for graphics
License: MIT AND GPL-2.0-only
Group: Development/Libraries/C and C++
URL: https://glm.g-truc.net/
Url: https://glm.g-truc.net/
#Git-Clone: https://github.com/g-truc/glm.git
Source: https://github.com/g-truc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE glm-cmake-config.patch -- Fix cmake config location