Skip to content

Commit c4a5713

Browse files
authored
Merge pull request #121 from phunkyfish/update-glm
Update GLM to 1.0.1
2 parents 874a7be + 11c6426 commit c4a5713

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(visualization.projectm)
44
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
55

66
find_package(Kodi REQUIRED)
7+
find_package(glm REQUIRED)
78
find_package(ProjectM REQUIRED)
89

910
if(NOT WIN32 AND (APP_RENDER_SYSTEM STREQUAL "gl" OR NOT APP_RENDER_SYSTEM))

Findglm.cmake

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#.rst:
2+
# Findglm
3+
# ------------
4+
# Finds the OpenGL Mathematics (GLM) as a header only C++ mathematics library.
5+
#
6+
# This will define the following variables:
7+
#
8+
# GLM_FOUND - system has OpenGLES
9+
# GLM_INCLUDE_DIR - the OpenGLES include directory
10+
#
11+
# Note: Install was removed from GLM on version 0.9.9.6.
12+
13+
find_package(PkgConfig)
14+
if(PKG_CONFIG_FOUND)
15+
pkg_check_modules(PC_GLM glm QUIET)
16+
endif()
17+
18+
find_path(GLM_INCLUDE_DIR glm.hpp
19+
PATHS ${PC_GLM_INCLUDEDIR}
20+
PATH_SUFFIXES glm)
21+
22+
include(FindPackageHandleStandardArgs)
23+
find_package_handle_standard_args(glm REQUIRED_VARS GLM_INCLUDE_DIR)
24+
25+
mark_as_advanced(GLM_INCLUDE_DIR)

depends/common/glm/flags.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DGLM_TEST_ENABLE_CXX_11=1 -DGLM_TEST_ENABLE=0 -DGLM_TEST_ENABLE_SIMD_SSE2=0 -DCMAKE_INSTALL_LIBDIR=lib
1+
-DGLM_TEST_ENABLE:BOOL=OFF

depends/common/glm/glm.sha256

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
785211e3e5757f64bc20eff1c5dd89cfc35fc8aea8e06b4b189e4f3ea4865861
1+
9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c

depends/common/glm/glm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
glm https://github.com/g-truc/glm/releases/download/0.9.9.5/glm-0.9.9.5.7z
1+
glm https://github.com/g-truc/glm/archive/1.0.1.tar.gz

visualization.projectm/addon.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<addon
33
id="visualization.projectm"
4-
version="22.0.0"
4+
version="22.0.1"
55
name="projectM"
66
provider-name="Team Kodi">
77
<requires>@ADDON_DEPENDS@</requires>

0 commit comments

Comments
 (0)