summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
authorDario Mylonopoulos <32958057+ramenguy99@users.noreply.github.com>2025-01-24 12:15:02 +0100
committerGitHub <noreply@github.com>2025-01-24 19:15:02 +0800
commitac174d260d90b66ebbc8264001a75b9527611cbc (patch)
treedb68e09e342190daba5d500467901c459fa20070 /source/compiler-core
parenta9ce7520e5f1b97b09e5de69455258bef55e10d2 (diff)
Fix static build and install (#6158)
* Add SLANG_ENABLE_RELEASE_LTO cmake option * Fix cmake static build * Disable install SlangTargets to avoid static build failing
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/compiler-core/CMakeLists.txt b/source/compiler-core/CMakeLists.txt
index 4d1bff17b..d3a88fddd 100644
--- a/source/compiler-core/CMakeLists.txt
+++ b/source/compiler-core/CMakeLists.txt
@@ -1,6 +1,7 @@
slang_add_target(
.
STATIC
+ EXPORT_MACRO_PREFIX SLANG
EXCLUDE_FROM_ALL
USE_EXTRA_WARNINGS
LINK_WITH_PRIVATE core