vcpkg/ports/mdl-sdk/008-build-static-llvm.patch
2024-10-29 02:00:51 -07:00

11 lines
423 B
Diff

--- a/src/mdl/jit/llvm/CMakeLists.txt
+++ b/src/mdl/jit/llvm/CMakeLists.txt
@@ -152,6 +152,7 @@
set(LLVM_CMAKE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dist CACHE PATH "LLVM source root.")
set(LLVM_NATIVE_BUILD ${CMAKE_CURRENT_BINARY_DIR}/dist/NATIVE CACHE PATH "Binary root dir for LLVM tablegen.")
+set(BUILD_SHARED_LIBS OFF)
# speed up build is not working properly on all platforms and configurations
if(WINDOWS)