travis build fix

This commit is contained in:
Vadim Grigoruk 2018-12-02 10:25:58 +03:00
parent df22784d65
commit 2dfe63cf3d
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,8 @@ elseif(WIN32)
target_link_libraries(sokol D3dcompiler_47) target_link_libraries(sokol D3dcompiler_47)
endif() endif()
elseif(LINUX) elseif(LINUX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") find_package (Threads)
target_link_libraries(sokol X11 GL m dl asound) target_link_libraries(sokol X11 GL m dl asound ${CMAKE_THREAD_LIBS_INIT})
endif() endif()
target_include_directories(sokol PRIVATE 3rd-party/sokol) target_include_directories(sokol PRIVATE 3rd-party/sokol)