Skip to content
Snippets Groups Projects
Commit bd8024cb authored by Michael Knobloch's avatar Michael Knobloch
Browse files

Added GLM and install patch to 2023 stage

parent 1ab5deda
No related branches found
No related tags found
No related merge requests found
easyblock = 'CMakeMake'
name = 'GLM'
version = '0.9.9.8'
homepage = 'https://github.com/g-truc/glm'
description = """
OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics
software based on the OpenGL Shading Language (GLSL) specifications."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = ['https://github.com/g-truc/glm/archive/']
sources = ['%(version)s.tar.gz']
patches = [
'GLM-0.9.9.8_fix_missing_install.patch',
]
checksums = [
'7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592', # 0.9.9.8.tar.gz
'1cc199f9d66679b0b5e9a9fbe20bca0d9b15760fa172ca8759dd15bab35802ca', # GLM-0.9.9.8_fix_missing_install.patch
]
builddependencies = [
('binutils', '2.38'),
('CMake', '3.23.1'),
]
sanity_check_paths = {
'files': [],
'dirs': ['include/glm/gtc', 'include/glm/gtx'],
}
moduleclass = 'lib'
Restore installation functionality which was removed in v0.9.9.6
Åke Sandgren, 20200519
diff -ru glm-0.9.9.8.orig/CMakeLists.txt glm-0.9.9.8/CMakeLists.txt
--- glm-0.9.9.8.orig/CMakeLists.txt 2020-04-13 19:41:16.000000000 +0200
+++ glm-0.9.9.8/CMakeLists.txt 2020-05-19 16:16:12.731259305 +0200
@@ -8,6 +8,8 @@
add_subdirectory(glm)
add_library(glm::glm ALIAS glm)
+install(DIRECTORY glm DESTINATION "include")
+
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(test)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment