mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 21:23:11 +00:00
- Fixes https://github.com/termux/termux-packages/issues/23809 - Fixes https://github.com/patriciogonzalezvivo/glslViewer/issues/373 Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
14 lines
495 B
Diff
14 lines
495 B
Diff
Fixes ld.lld: error: undefined symbol: _glfwInitJoysticksLinux
|
|
|
|
--- a/deps/vera/deps/CMakeLists.txt
|
|
+++ b/deps/vera/deps/CMakeLists.txt
|
|
@@ -5,7 +5,7 @@ if (NOT NO_X11 AND NOT FORCE_GBM AND NOT EMSCRIPTEN)
|
|
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "")
|
|
set(GLFW_BUILD_TESTS OFF CACHE BOOL "")
|
|
set(GLFW_INSTALL OFF CACHE BOOL "")
|
|
- add_subdirectory(glfw)
|
|
+ find_package(glfw3 3.3 REQUIRED)
|
|
|
|
if(APPLE)
|
|
target_compile_options(glfw PRIVATE "-Wno-deprecated-declarations")
|