File tree Expand file tree Collapse file tree 6 files changed +30
-4
lines changed Expand file tree Collapse file tree 6 files changed +30
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ project(visualization.projectm)
44set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR} )
55
66find_package (Kodi REQUIRED)
7+ find_package (glm REQUIRED)
78find_package (ProjectM REQUIRED)
89
910if (NOT WIN32 AND (APP_RENDER_SYSTEM STREQUAL "gl" OR NOT APP_RENDER_SYSTEM))
Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1- 785211e3e5757f64bc20eff1c5dd89cfc35fc8aea8e06b4b189e4f3ea4865861
1+ 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments