diff --git a/examples/sokol-video-demo/CMakeLists.txt b/examples/sokol-video-demo/CMakeLists.txt index fb6a6fc..f073d20 100644 --- a/examples/sokol-video-demo/CMakeLists.txt +++ b/examples/sokol-video-demo/CMakeLists.txt @@ -40,6 +40,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin) else() add_library(sokol STATIC sokol.c ${sokol_HEADERS}) if (CMAKE_SYSTEM_NAME STREQUAL Linux) + target_compile_definitions(sokol PRIVATE SOKOL_GLCORE=1) target_link_libraries(sokol INTERFACE X11 Xi Xcursor GL dl m) endif() endif()