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/core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/core') diff --git a/source/core/CMakeLists.txt b/source/core/CMakeLists.txt index 8228d0067..a8c19f4b5 100644 --- a/source/core/CMakeLists.txt +++ b/source/core/CMakeLists.txt @@ -1,6 +1,7 @@ slang_add_target( . STATIC + EXPORT_MACRO_PREFIX SLANG EXCLUDE_FROM_ALL USE_EXTRA_WARNINGS LINK_WITH_PRIVATE miniz lz4_static Threads::Threads ${CMAKE_DL_LIBS} -- cgit v1.2.3