llvm-project/llvm/cmake
Daniel Thornburgh 1da2c5ba09 [Debuginfod] Check libcurl via CMake library.
If libcurl was built with CMake, CMake's FindCURL module defers
completely to the included config file. This config file doesn't set any
of the variables that the current check script depends on; it just sets
up an imported CMake target. Accordingly, the smoke test fails, since it
can't find the libcurl (or its static dependencies).

This changes the compile smoke test to refer to the imported library
instead; this should in turn bring in the necessary include and library
directories via the interface properties set up by CMake. This better
mirrors the way libcurl is referred to elsewhere in the CMakeLists.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D121718
2022-03-15 18:26:25 +00:00
..
modules Add cmake_parse_arguments() to `tablegen()` CMake function 2022-03-14 06:56:11 +00:00
platforms [cmake] Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES 2022-03-08 15:25:03 -08:00
README
config-ix.cmake [Debuginfod] Check libcurl via CMake library. 2022-03-15 18:26:25 +00:00
config.guess [PowerPC] Add the LLVM triple for powerpcle [1/5] 2021-01-02 12:17:22 -06:00
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
unwind.h [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.