summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-02-12 12:43:47 +0800
committerGitHub <noreply@github.com>2025-02-12 12:43:47 +0800
commitee99becbf02b91635338203e44b79c3814bddc2c (patch)
tree44e2756d87314f2645d14f26f8493c6cdc4474ac /tools
parent6f4267671d7a5c4fa9441c83cf34853f63119f6b (diff)
Correct dependencies on core module source (#6340)
* Publicly link core module sources Closes https://github.com/shader-slang/slang/issues/6037 * format * format * remove unnecessary conditional * comments * neaten * Only build embedded core modules when necessary * Make dependencies on core module source more precise * more precice dependencies on core module source * Neaten
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 540c9e0f4..9968d7ca8 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -62,9 +62,10 @@ generator(
TARGET_NAME
slang-bootstrap
USE_FEWER_WARNINGS
+ LINK_WITH_PUBLIC
+ slang-without-embedded-core-module
LINK_WITH_PRIVATE
prelude
- slang-without-embedded-core-module
slang-capability-lookup
slang-lookup-tables
Threads::Threads