summaryrefslogtreecommitdiff
path: root/emulators/cannonball/files/patch-cmake_linux.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/cannonball/files/patch-cmake_linux.cmake')
-rw-r--r--emulators/cannonball/files/patch-cmake_linux.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/cannonball/files/patch-cmake_linux.cmake b/emulators/cannonball/files/patch-cmake_linux.cmake
new file mode 100644
index 000000000000..c2bc805f8646
--- /dev/null
+++ b/emulators/cannonball/files/patch-cmake_linux.cmake
@@ -0,0 +1,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}
++)
++