travis fix

This commit is contained in:
Vadim Grigoruk 2018-09-22 08:04:39 +03:00
parent 6dc77d5f3f
commit 10cc0bb9a9
1 changed files with 5 additions and 1 deletions

View File

@ -181,6 +181,10 @@ target_include_directories(tic80core PRIVATE 3rd-party/fennel)
add_dependencies(tic80core lua lpeg wren giflib)
target_link_libraries(tic80core lua lpeg wren giflib)
if(LINUX)
target_link_libraries(tic80core m)
endif()
################################
# SDL2
################################
@ -260,7 +264,7 @@ if(APPLE)
"-framework AudioToolbox"
)
elseif(LINUX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -static")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
target_link_libraries(sokol X11 GL m dl asound)
endif()