set(LLVM_LINK_COMPONENTS
  core
  support
)

if(NOT CLANG_BUILT_STANDALONE)
  set(tablegen_deps intrinsics_gen)
endif()

add_clang_tool(clang-import-test
  clang-import-test.cpp
  DEPENDS
  ${tablegen_deps}
  )

set(CLANG_IMPORT_TEST_LIB_DEPS
  clangAST
  clangBasic
  clangCodeGen
  clangDriver
  clangFrontend
  clangLex
  clangParse
  )

target_link_libraries(clang-import-test
  PRIVATE
  ${CLANG_IMPORT_TEST_LIB_DEPS}
  )

set(LLVM_LINK_COMPONENTS
  Core
  Support
  )

if(NOT CLANG_BUILT_STANDALONE)
  set(tablegen_deps intrinsics_gen)
endif()

add_clang_tool(clang-import-test
  clang-import-test.cpp
  DEPENDS
  ${tablegen_deps}
  )

set(CLANG_IMPORT_TEST_LIB_DEPS
  clangAST
  clangBasic
  clangCodeGen
  clangDriver
  clangFrontend
  clangLex
  clangParse
  )

target_link_libraries(clang-import-test
  PRIVATE
  ${CLANG_IMPORT_TEST_LIB_DEPS}
  )

Fix case of LLVM library names.
Fix case of LLVM library names.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@330604 91177308-0d34-0410-b5e6-96231b3b80d8
