blob: c2bc805f8646d51b5601fc604226e0e24b637dc5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Adds support for building in BSD.
Will be removed once upstream makes a release with
https://github.com/djyt/cannonball/commit/a9c71cbf229b9f808ae172a09d12a773fc869209
--- cmake/linux.cmake.orig 2021-03-16 11:22:26 UTC
+++ cmake/linux.cmake
@@ -0,0 +1,12 @@
+# -----------------------------------------------------------------------------
+# CannonBall BSD Setup
+# -----------------------------------------------------------------------------
+
+# Use OpenGL for rendering.
+find_package(OpenGL REQUIRED)
+
+# Platform Specific Libraries
+set(platform_link_libs
+ ${OPENGL_LIBRARIES}
+)
+
|