CMakeList.txt now uses libpthread.
This commit is contained in:
@@ -75,6 +75,8 @@ else()
|
||||
target_link_libraries(86Box SDL2::SDL2)
|
||||
endif()
|
||||
|
||||
target_link_libraries(plat pthread)
|
||||
|
||||
find_package(PNG REQUIRED)
|
||||
include_directories(${PNG_INCLUDE_DIRS})
|
||||
target_link_libraries(86Box PNG::PNG)
|
||||
|
@@ -12,7 +12,6 @@ add_library(plat STATIC ${PLAT_SOURCES})
|
||||
add_library(ui STATIC unix.c unix_sdl.c unix_cdrom.c)
|
||||
target_compile_definitions(ui PUBLIC _FILE_OFFSET_BITS=64)
|
||||
target_link_libraries(ui dl)
|
||||
target_link_libraries(plat pthread)
|
||||
if (ALSA_FOUND)
|
||||
target_link_libraries(plat ALSA::ALSA)
|
||||
endif()
|
Reference in New Issue
Block a user