blob: 1d8dba8b6a414fbe5c54a33a7b9fe30ee2edbd6e [file] [log] [blame]
# Do not build unittest libraries automatically, they will be pulled in
# by unittests if these are built.
if (NOT ${LLVM_INSTALL_GTEST})
set (BUILDTREE_ONLY BUILDTREE_ONLY)
set(EXCLUDE_FROM_ALL ON)
endif()
add_llvm_library(LLVMTestingAnnotations
Annotations.cpp
${BUILDTREE_ONLY}
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
LINK_COMPONENTS
Support
)