mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
b7766637d4
commit
8b5741882b
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ TARGET_LINK_LIBRARIES(srs -ldl -pthread)
|
|||
TARGET_LINK_LIBRARIES(srs -rdynamic)
|
||||
TARGET_LINK_LIBRARIES(srs -fsanitize=address -fno-omit-frame-pointer)
|
||||
|
||||
# Ensure pthread is correctly linked
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(srs Threads::Threads)
|
||||
|
||||
###########################################################
|
||||
# For utest.
|
||||
# See https://google.github.io/googletest/quickstart-cmake.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue