diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2025-08-28 18:36:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-28 15:36:36 -0700 |
| commit | 74c39eaa3dbd6ca55a383afca51ec18962838f08 (patch) | |
| tree | 830cc80218d0369dd2848f067971bb427e9e79e3 /source/slang-rt | |
| parent | c19e2e92ae8e713225262a17f39a438cd511d416 (diff) | |
Revert "Reduce the dependency to thread library (#8216)" (#8319)
This cause the pthread not found issue on old glibc build.
This reverts commit 113327194d4cf750af6265a560615850a8e7e6fb.
Diffstat (limited to 'source/slang-rt')
| -rw-r--r-- | source/slang-rt/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang-rt/CMakeLists.txt b/source/slang-rt/CMakeLists.txt index e6a24b84b..b915cc5ef 100644 --- a/source/slang-rt/CMakeLists.txt +++ b/source/slang-rt/CMakeLists.txt @@ -5,7 +5,7 @@ if(SLANG_ENABLE_SLANGRT) # This compiles 'core' again with the SLANG_RT_DYNAMIC_EXPORT macro defined EXTRA_SOURCE_DIRS ${slang_SOURCE_DIR}/source/core 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 EXPORT_MACRO_PREFIX SLANG_RT INCLUDE_DIRECTORIES_PUBLIC ${slang_SOURCE_DIR}/include |
