llvm-project/lld/cmake/modules/LLDConfig.cmake.in

14 lines
391 B
CMake

# This file allows users to call find_package(LLD) and pick up our targets.
@LLD_CONFIG_CODE@
find_package(LLVM REQUIRED CONFIG
HINTS "@LLD_CONFIG_LLVM_CMAKE_DIR@")
set(LLD_EXPORTED_TARGETS "@LLD_EXPORTS@")
set(LLD_CMAKE_DIR "@LLD_CONFIG_CMAKE_DIR@")
set(LLD_INCLUDE_DIRS "@LLD_CONFIG_INCLUDE_DIRS@")
# Provide all our library targets to users.
@LLD_CONFIG_INCLUDE_EXPORTS@