From 37e1f72cf6cb58ddc39ce6021b5b17f4d6d4811f Mon Sep 17 00:00:00 2001 From: officeyutong Date: Thu, 25 Apr 2024 19:12:57 +0800 Subject: [PATCH] Update --- vm/llvm-jit/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm/llvm-jit/CMakeLists.txt b/vm/llvm-jit/CMakeLists.txt index dba4b97b..73f02177 100644 --- a/vm/llvm-jit/CMakeLists.txt +++ b/vm/llvm-jit/CMakeLists.txt @@ -43,6 +43,8 @@ if (${LLVM_PACKAGE_VERSION} VERSION_LESS 15) message(FATAL_ERROR "LLVM version must be >=15") endif() +option(ENABLE_LLVM_SHARED "Link shared library of LLVM" YES) + if(ENABLE_LLVM_SHARED) set(LLVM_LIBS LLVM) else()