Skip to content

Commit

Permalink
Merge pull request #19 from AlwinEsch/Leia-change
Browse files Browse the repository at this point in the history
[Leia] fix standalone build with newer glm versions (>= 0.9.9.6)
  • Loading branch information
AlwinEsch authored Sep 6, 2020
2 parents 337a5e9 + 9f3ba85 commit bda8529
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
25 changes: 25 additions & 0 deletions Findglm.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#.rst:
# Findglm
# ------------
# Finds the OpenGL Mathematics (GLM) as a header only C++ mathematics library.
#
# This will define the following variables:
#
# GLM_FOUND - system has OpenGLES
# GLM_INCLUDE_DIR - the OpenGLES include directory
#
# Note: Install was removed from GLM on version 0.9.9.6.

find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_check_modules(PC_GLM glm QUIET)
endif()

find_path(GLM_INCLUDE_DIR glm.hpp
PATHS ${PC_GLM_INCLUDEDIR}
PATH_SUFFIXES glm)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(glm REQUIRED_VARS GLM_INCLUDE_DIR)

mark_as_advanced(GLM_INCLUDE_DIR)
2 changes: 1 addition & 1 deletion visualization.fishbmc/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="visualization.fishbmc"
version="5.1.2"
version="5.1.3"
name="FishBMC"
provider-name="26elf">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
9 changes: 9 additions & 0 deletions visualization.fishbmc/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
5.1.3 (2020-09-06)
- Fix standalone build with newer glm versions (>= 0.9.9.6)

5.1.2 (2019-10-09)
- Remove not needed virtual from class
- Cleanup debian package code
- Add license name and source URL to addon.xml
- Clean FindOpenGLES.cmake description

5.1.1 (2019-08-23)
- Update .travis.yml to Leia
- Add Jenkinsfile for test and binary repo upload
Expand Down

0 comments on commit bda8529

Please sign in to comment.