Update CMakeLists.txt

pull/4297/head
Yan Naing Tun 1 week ago committed by GitHub
parent b7766637d4
commit 8b5741882b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save