diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake index 2827d64..e186bc1 100644 --- a/cmake/LLVM.cmake +++ b/cmake/LLVM.cmake @@ -239,7 +239,7 @@ string(STRIP "${LLVM_SYSLIBS}" LLVM_SYSLIBS) #################################################################### # llvm-config does not include clang libs -if((9 LESS LLVM_MAJOR) AND (NOT STATIC_LLVM)) +if((8 LESS LLVM_MAJOR) AND (NOT STATIC_LLVM)) # For Clang 10+, link against a single shared library instead of multiple component shared # libraries. if("${LLVM_LIBNAMES}" MATCHES "LLVMTCE")