From ac174d260d90b66ebbc8264001a75b9527611cbc Mon Sep 17 00:00:00 2001 From: Dario Mylonopoulos <32958057+ramenguy99@users.noreply.github.com> Date: Fri, 24 Jan 2025 12:15:02 +0100 Subject: 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 --- source/compiler-core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/compiler-core') 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 -- cgit v1.2.3