diff --git a/CMakeLists.txt b/CMakeLists.txt index a8625f7..a9ba538 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,6 +260,7 @@ if(APPLE) "-framework AudioToolbox" ) elseif(LINUX) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") target_link_libraries(sokol X11 GL m dl asound) endif()