Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cginternals/glbinding
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibel committed Apr 26, 2019
2 parents 4ce5eb3 + dbc6535 commit 28d32d9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ Building *glbinding* from source has several mandatory and optional dependencies
* [CMake](https://cmake.org/) 3.0 or higher for building *glbinding* from source (mandatory for any build from source)
* [git](https://git-scm.com/) for version control and script supporting tasks
* [GLFW](http://www.glfw.org/) 3.2 or higher for examples and tools
* [GLEW](http://glew.sourceforge.net/) 1.6 or higher for the comparison example
* [cpplocate](https://github.com/cginternals/cpplocate) for the examples
* [Qt5](http://www.qt.io/developers/) 5.0 or higher for the qt-based example
* [GLEW](http://glew.sourceforge.net/) 1.6 or higher for the comparison example (optional)
* [cpplocate](https://github.com/cginternals/cpplocate) for the examples (optional)
* [Qt5](http://www.qt.io/developers/) 5.0 or higher for the qt-based example (optional)
* [Doxygen](http://www.stack.nl/~dimitri/doxygen/) 1.8 or higher for generating the documentation on your system
* [graphviz](http://www.graphviz.org/) for generating diagrams (optional)

Expand Down
2 changes: 1 addition & 1 deletion deploy/ubuntu-ppa/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: libglbinding
Section: misc
Priority: optional
Maintainer: Willy Scheibel <[email protected]>
Build-Depends: build-essential, cmake, libgl1-mesa-dev, libglfw3-dev, libcpplocate-dev, libcpplocate-dbg, qtbase5-dev, doxygen, graphviz
Build-Depends: build-essential, cmake, libgl1-mesa-dev, libglfw3-dev, libcpplocate-dev, libcpplocate-dbg, qtbase5-dev, doxygen, graphviz, libx11-dev, libxrandr-dev, libxinerama-dev, libxcursor-dev
Standards-Version: 3.8.0

Package: libglbinding
Expand Down
2 changes: 1 addition & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ endif()
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/${META_PROJECT_NAME} DESTINATION include COMPONENT dev)


include("${CMAKE_SOURCE_DIR}/cmake/WinInstallHacks.cmake")
include(${PROJECT_SOURCE_DIR}/cmake/WinInstallHacks.cmake)
9 changes: 8 additions & 1 deletion source/examples/cubescape-qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ if (NOT Qt5Core_FOUND)
return()
endif()

# On macOS qt5 fails to link against opengl
if(APPLE)
find_package(OpenGL REQUIRED)
endif()


if (NOT cpplocate_FOUND)
message(STATUS "Example ${target}: using static data path (cpplocate not found)")
else()
Expand Down Expand Up @@ -115,7 +121,8 @@ target_link_libraries(${target}
Qt5::Core
Qt5::Gui
Qt5::Widgets
$<$<BOOL:${cpplocate_FOUND}>:cpplocate::cpplocate>
"$<$<BOOL:${cpplocate_FOUND}>:cpplocate::cpplocate>"
"$<$<PLATFORM_ID:Darwin>:${OPENGL_gl_LIBRARY}>"
)


Expand Down
1 change: 1 addition & 0 deletions source/glbinding/include/glbinding/glbinding.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


#include <set>
#include <string>
#include <vector>
#include <functional>

Expand Down

0 comments on commit 28d32d9

Please sign in to comment.