Explorar o código

Update CMakeLists.txt

Fixed LLVM link issues
M0N7Y5 hai 1 ano
pai
achega
a66a9a1acb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      IDEHelper/CMakeLists.txt

+ 2 - 1
IDEHelper/CMakeLists.txt

@@ -177,7 +177,8 @@ if (LLVM_FOUND)
   include_directories(${LLVM_INCLUDE_DIRS})
   add_definitions(${LLVM_DEFINITIONS})
 
-  set(STRIP ${TARGET_LIBS_OS} "-lLLVM-18 ${LLVM_SYSTEM_LIBS}")
+  string(APPEND TARGET_LIBS_OS "-lLLVM-18 ${LLVM_SYSTEM_LIBS}")
+  string(STRIP ${TARGET_LIBS_OS} TARGET_LIBS_OS)
 else()
   message(FATAL_ERROR "LLVM not found")
 endif()