mirror of https://github.com/libAthena/athena.git
Fix ordering issue
This commit is contained in:
parent
14e4d4e2ea
commit
f02251ebf3
|
@ -52,13 +52,13 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
# Add LLVM static libs
|
||||||
|
list(APPEND CLANG_LIBS clangTooling)
|
||||||
|
list(APPEND LLVM_LIBS LLVMFrontendOpenMP LLVMOption)
|
||||||
# Remove LLVM dynamic library from Clang dependencies
|
# Remove LLVM dynamic library from Clang dependencies
|
||||||
foreach (lib ${CLANG_LIBS})
|
foreach (lib ${CLANG_LIBS})
|
||||||
recursive_remove_library(${lib} LLVM)
|
recursive_remove_library(${lib} LLVM)
|
||||||
endforeach ()
|
endforeach ()
|
||||||
# Add LLVM static libs
|
|
||||||
list(APPEND CLANG_LIBS clangTooling)
|
|
||||||
list(APPEND LLVM_LIBS LLVMFrontendOpenMP LLVMOption)
|
|
||||||
# Hack around link order issues
|
# Hack around link order issues
|
||||||
target_link_libraries(clangAST INTERFACE LLVMFrontendOpenMP)
|
target_link_libraries(clangAST INTERFACE LLVMFrontendOpenMP)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue