Skip to content

Commit 5a82d13

Browse files
NathanaelAtmikov
authored andcommitted
Fix Sokol on Linux
1 parent 946310a commit 5a82d13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external/sokol/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ else ()
3434
add_library(sokol STATIC sokol.c ${SOKOL_HEADERS})
3535
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
3636
target_link_libraries(sokol INTERFACE X11 Xi Xcursor GL dl m)
37+
find_package(Threads)
3738
target_link_libraries(sokol PUBLIC Threads::Threads)
3839
endif ()
3940
endif ()

0 commit comments

Comments
 (0)