distribution/packages/emulators/standalone/kronos-sa/patches/001-fix-gl-link.patch

14 lines
550 B
Diff
Raw Normal View History

2023-10-26 15:45:17 +00:00
diff --git a/yabause/src/CMakeLists.txt b/yabause/src/CMakeLists.txt
index 6a088226..efa2d8de 100755
--- a/yabause/src/CMakeLists.txt
+++ b/yabause/src/CMakeLists.txt
@@ -388,7 +388,7 @@ if (YAB_WANT_OPENGL AND (YAB_RGB STREQUAL ""))
if (OPENGL_SUPPORTED)
add_definitions(-DHAVE_LIBGL=1)
- set(KRONOS_LIBRARIES ${KRONOS_LIBRARIES} ${OPENGL_CURRENT_LIBRARIES})
+ set(KRONOS_LIBRARIES ${KRONOS_LIBRARIES} ${OPENGL_CURRENT_LIBRARIES} -lglfw -lGLU -lGL -lGLEW)
include_directories(./ ./tools/nanovg)
set(kronos_SOURCES ${kronos_SOURCES}