[clang-tools-extra] 71133e8 - [clang-tidy] Fix linking for FrontendOpenMP

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 09:22:48 PDT 2020


Author: Heejin Ahn
Date: 2020-09-08T09:22:22-07:00
New Revision: 71133e8b5bceaf68a2cee59af371df570a1aed79

URL: https://github.com/llvm/llvm-project/commit/71133e8b5bceaf68a2cee59af371df570a1aed79
DIFF: https://github.com/llvm/llvm-project/commit/71133e8b5bceaf68a2cee59af371df570a1aed79.diff

LOG: [clang-tidy] Fix linking for FrontendOpenMP

Without this, builds with `-DBUILD_SHARED_LIBS=ON` fail.

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/altera/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/altera/CMakeLists.txt b/clang-tools-extra/clang-tidy/altera/CMakeLists.txt
index 878e718c6596..ed28d9f4892d 100644
--- a/clang-tools-extra/clang-tidy/altera/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/altera/CMakeLists.txt
@@ -1,4 +1,7 @@
-set(LLVM_LINK_COMPONENTS support)
+set(LLVM_LINK_COMPONENTS
+  FrontendOpenMP
+  support
+  )
 
 add_clang_library(clangTidyAlteraModule
   AlteraTidyModule.cpp


        


More information about the cfe-commits mailing list