From 4a3b4d3d89979e62448c57cf8e7cdea0b0d7ebb4 Mon Sep 17 00:00:00 2001 From: mcbarton Date: Sat, 25 Jan 2025 20:08:52 +0000 Subject: [PATCH] Update CMakeLists.txt --- lib/Interpreter/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt index 8347cb139..e90e79362 100644 --- a/lib/Interpreter/CMakeLists.txt +++ b/lib/Interpreter/CMakeLists.txt @@ -29,12 +29,7 @@ if(EMSCRIPTEN) PUBLIC "SHELL: -s WASM_BIGINT" ) else() - IF(WIN32) - llvm_map_components_to_libnames( - llvm_lib_shared - LLVM-20git -) - else() + IF(NOT WIN32) set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} BinaryFormat @@ -150,7 +145,7 @@ else() ${DLM} ) target_link_libraries(clangCppInterOp - PRIVATE ${llvm_lib_shared} + PRIVATE LLVM-20git ) endif() endif()