diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-08-20 09:28:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-20 16:28:30 +0000 |
| commit | 113327194d4cf750af6265a560615850a8e7e6fb (patch) | |
| tree | 07083d3a09f63243e291c11706443124206c2c20 /source/slang-rt | |
| parent | e0c20a076f2ec84586b6508664df4f59273c6aaf (diff) | |
Reduce the dependency to thread library (#8216)
Slang compiler doesn't use thread and we should declare the dependency
to the thread library when we don't need it.
The use of Thread is limited to the tools such as slang-test.
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 b915cc5ef..e6a24b84b 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 Threads::Threads ${CMAKE_DL_LIBS} + LINK_WITH_PRIVATE miniz lz4_static ${CMAKE_DL_LIBS} LINK_WITH_PUBLIC unordered_dense::unordered_dense EXPORT_MACRO_PREFIX SLANG_RT INCLUDE_DIRECTORIES_PUBLIC ${slang_SOURCE_DIR}/include |
