mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 12:36:17 +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()
|
else()
|
||||||
add_library(sokol STATIC sokol.c ${sokol_HEADERS})
|
add_library(sokol STATIC sokol.c ${sokol_HEADERS})
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
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)
|
target_link_libraries(sokol INTERFACE X11 Xi Xcursor GL dl m)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue