[BuildLibcalls, Attrs] Support more variants of C++'s new, add attributes for C+...
[lldb.git] / clang-tools-extra / clang-include-fixer / CMakeLists.txt
index f27f740..5581d43 100644 (file)
@@ -11,6 +11,14 @@ add_clang_library(clangIncludeFixer
   YamlSymbolIndex.cpp
 
   LINK_LIBS
   YamlSymbolIndex.cpp
 
   LINK_LIBS
+  findAllSymbols
+
+  DEPENDS
+  omp_gen
+  )
+
+clang_target_link_libraries(clangIncludeFixer
+  PRIVATE
   clangAST
   clangBasic
   clangFormat
   clangAST
   clangBasic
   clangFormat
@@ -21,7 +29,6 @@ add_clang_library(clangIncludeFixer
   clangSerialization
   clangTooling
   clangToolingCore
   clangSerialization
   clangTooling
   clangToolingCore
-  findAllSymbols
   )
 
 add_subdirectory(plugin)
   )
 
 add_subdirectory(plugin)