1 set(LLVM_LINK_COMPONENTS
2 ${LLVM_TARGETS_TO_BUILD}
11 set(LLVM_LINK_COMPONENTS)
14 if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
15 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wstrict-prototypes")
18 add_llvm_tool(llvm-c-test
29 # Use libLLVM.so if it is available.
31 target_link_libraries(llvm-c-test LLVM)