mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
refactor(sonar): migrate worker threads to std::jthread (#5398)
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
|
||||
if(NOT FREEBSD)
|
||||
# Using newer c++ compilers / features on older distros causes runtime dyn link errors
|
||||
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES
|
||||
-static-libgcc
|
||||
-static-libstdc++
|
||||
)
|
||||
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES -static-libgcc)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15)
|
||||
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES stdc++)
|
||||
else()
|
||||
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES -static-libstdc++)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user