From 74c39eaa3dbd6ca55a383afca51ec18962838f08 Mon Sep 17 00:00:00 2001 From: kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:36:36 -0400 Subject: Revert "Reduce the dependency to thread library (#8216)" (#8319) This cause the pthread not found issue on old glibc build. This reverts commit 113327194d4cf750af6265a560615850a8e7e6fb. --- source/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core') diff --git a/source/core/CMakeLists.txt b/source/core/CMakeLists.txt index ee2751a68..a8c19f4b5 100644 --- a/source/core/CMakeLists.txt +++ b/source/core/CMakeLists.txt @@ -4,7 +4,7 @@ slang_add_target( EXPORT_MACRO_PREFIX SLANG EXCLUDE_FROM_ALL USE_EXTRA_WARNINGS - LINK_WITH_PRIVATE miniz lz4_static ${CMAKE_DL_LIBS} + LINK_WITH_PRIVATE miniz lz4_static Threads::Threads ${CMAKE_DL_LIBS} LINK_WITH_PUBLIC unordered_dense::unordered_dense INCLUDE_DIRECTORIES_PUBLIC ${slang_SOURCE_DIR}/source -- cgit v1.2.3