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:
parent
018f8ec577
commit
536f65922e
@ -1,8 +1,6 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
--- glm-0.9.9.5.orig/CMakeLists.txt 2019-04-02 11:28:25.000000000 +0200
|
||||||
index 10bb1af..7514d3a 100644
|
+++ glm-0.9.9.5/CMakeLists.txt 2019-04-24 12:03:48.074253826 +0200
|
||||||
--- a/CMakeLists.txt
|
@@ -253,13 +253,13 @@ configure_file(cmake/glmBuildConfig.cmak
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -253,13 +253,12 @@ configure_file(cmake/glmBuildConfig.cmake.in glmConfig.cmake @ONLY)
|
|
||||||
# install tree package config
|
# install tree package config
|
||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
cmake/glmConfig.cmake.in
|
cmake/glmConfig.cmake.in
|
||||||
@ -15,6 +13,7 @@ index 10bb1af..7514d3a 100644
|
|||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
- "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
|
- "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
|
||||||
|
+ "${CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
|
||||||
DESTINATION ${GLM_INSTALL_CONFIGDIR})
|
DESTINATION ${GLM_INSTALL_CONFIGDIR})
|
||||||
|
|
||||||
|
@ -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>
|
Sun Apr 14 19:07:08 UTC 2019 - Sagi <sagiben@gmail.com>
|
||||||
|
|
||||||
|
2
glm.spec
2
glm.spec
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Header only C++ mathematics library for graphics
|
Summary: Header only C++ mathematics library for graphics
|
||||||
License: MIT AND GPL-2.0-only
|
License: MIT AND GPL-2.0-only
|
||||||
Group: Development/Libraries/C and C++
|
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
|
#Git-Clone: https://github.com/g-truc/glm.git
|
||||||
Source: https://github.com/g-truc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
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
|
# PATCH-FIX-OPENSUSE glm-cmake-config.patch -- Fix cmake config location
|
||||||
|
Loading…
Reference in New Issue
Block a user