Files
glm/glm-1.0.1-fix-install-cmake-files.patch

30 lines
824 B
Diff
Raw Permalink Normal View History

- Update to version 1.0.1 * Features: + Added C++17 [[nodiscard]] support * Improvements: + Enables only warnings as errors while building unit tests + Added aligned_*vec3 simd support * Fixes: + Fixed C++ language auto detection build, disable C++98 warnings with Clang [gh#g-truc/glm#1235] [gh#g-truc/glm#1231] + Fixed GTX_color_space missing <glm/ext/scalar_constants.hpp> include [gh#g-truc/glm#1233] + Fixed EXT_matrix_transform shear implementation + Fixed smoothstep SIMD implementation [gh#g-truc/glm#1222] - Changes from version 1.0.0 * Features: + Added GLM_EXT_scalar_reciprocal with tests + Added GLM_EXT_vector_reciprocal with tests + Added glm::iround and glm::uround to GLM_EXT_scalar_common and GLM_EXT_vector_common + Added GLM_EXT_matrix_integer with tests + Added Github Actions + Added GLM_FORCE_UNRESTRICTED_FLOAT to prevent static asserts when using other scalar types with function expecting floats. * Improvements: + Added constexpr qualifier for cross product + Added constexpr qualifier for dot product * Fixes: + Fixed incorrect assertion for glm::min and glm::max + Fixed quaternion orientation in glm::decompose + Fixed singularity in quaternion to euler angle roll conversion + Fixed quat glm::pow handling of small magnitude quaternions + Fixed glm::fastNormalize build error + Fixed glm::isMultiple build error + Fixed glm::adjugate calculation + Fixed glm::angle discards the sign of result for angles in range (2pi-1, 2pi) + Removed ban on using glm::string_cast with CUDA host code - Removed patches * glm-0.9.9.8-install.patch, now included upstream - Added patches * glm-1.0.1-fix-install-cmake-files.patch * glm-1.0.1-noarch.patch * glm-1.0.1-without-werror.patch - Updated patches * glm-0.9.9.8-pkgconfig.patch updated to glm-1.0.1-pkgconfig.patch * glm-0.9.9.8-fix_tests_big-endian.patch updated to glm-1.0.1-fix-tests-big-endian.patch - Spec file changes * Set BuildArch to noarch for devel package as it is a header only package * Use cmake_build instead of make_jobs OBS-URL: https://build.opensuse.org/package/show/science/glm?expand=0&rev=16
2025-05-15 17:03:08 +00:00
From: Matthias Fehring <buschmann23@opensuse.org>
Date: Wed, 14 May 2025 17:23:00 +0200
Subject: Fix installation of cmake files
Upstream: no
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/CMakeLists.txt 2025-05-14 16:55:08.429478107 +0200
+++ b/CMakeLists.txt 2025-05-14 16:55:57.965657706 +0200
@@ -263,7 +263,7 @@
install(
EXPORT glm
NAMESPACE glm::
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/glm"
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/cmake/glm"
FILE glmConfig.cmake
)
include(CMakePackageConfigHelpers)
@@ -273,7 +273,7 @@
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/glm"
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/cmake/glm"
)
configure_file(glm.pc.in glm.pc @ONLY)