* 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
23 lines
770 B
Diff
23 lines
770 B
Diff
--- a/CMakeLists.txt 2024-02-27 18:19:47.000000000 +0100
|
|
+++ b/CMakeLists.txt 2025-05-14 16:10:27.589678383 +0200
|
|
@@ -276,6 +276,9 @@ if (GLM_BUILD_INSTALL)
|
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/glm"
|
|
)
|
|
|
|
+ configure_file(glm.pc.in glm.pc @ONLY)
|
|
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glm.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig)
|
|
+
|
|
configure_file(
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
|
--- /dev/null 2025-05-14 12:48:29.697783955 +0200
|
|
+++ b/glm.pc.in 2025-05-14 16:11:48.008352154 +0200
|
|
@@ -0,0 +1,7 @@
|
|
+prefix=@CMAKE_INSTALL_PREFIX@
|
|
+includedir=${prefix}/include
|
|
+
|
|
+Name: GLM
|
|
+Description: OpenGL Mathematics
|
|
+Version: @GLM_VERSION@
|
|
+Cflags: -I${includedir}
|