mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Link with pthread on Linux
This commit is contained in:
parent
553a97c8bb
commit
97326243db
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT APPLE AND NOT MSVC)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
||||||
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Declare source and header files.
|
# Declare source and header files.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue