mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-14 02:08:04 +00:00
set SOKOL_GLCORE on linux
This commit is contained in:
parent
74f183eef1
commit
aed1f2f30d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user