mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 14:40:02 +00:00
Fix compilation of unit tests on Linux with pthreads.
This commit is contained in:
parent
b9cefbe32a
commit
7260fa20f9
@ -42,6 +42,10 @@ else()
|
||||
set(libs3rdparty ${libs3rdparty} libpng)
|
||||
endif()
|
||||
|
||||
if (CMAKE_USE_PTHREADS_INIT)
|
||||
set(sys_libs ${sys_libs} ${CMAKE_THREAD_LIBS_INIT})
|
||||
endif()
|
||||
|
||||
# All libraries for .exe files
|
||||
set(all_libs aseprite-library undo-lib filters-lib gui-lib gfx-lib base-lib
|
||||
${libs3rdparty} allegro ${sys_libs})
|
||||
|
Loading…
Reference in New Issue
Block a user