diff options
author | fanquake <fanquake@gmail.com> | 2024-03-21 11:26:59 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-03-22 13:33:10 +0000 |
commit | 5b690aeb1583e207b083e83b8d882f7d1c2d2683 (patch) | |
tree | 3d50fc60c77d8f48dfdc057c381726650dbfb803 /contrib | |
parent | 24410e560ac9add5dbae424964bc96554e6fd1a9 (diff) | |
download | bitcoin-5b690aeb1583e207b083e83b8d882f7d1c2d2683.tar.xz |
tidy: remove terminfo TODO
At the same time, also disable searching for CURL, LibEdit, LibXml2,
ZLIB and zstd none of which we use.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/devtools/bitcoin-tidy/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/devtools/bitcoin-tidy/CMakeLists.txt b/contrib/devtools/bitcoin-tidy/CMakeLists.txt index d10d584b03..081c3050fd 100644 --- a/contrib/devtools/bitcoin-tidy/CMakeLists.txt +++ b/contrib/devtools/bitcoin-tidy/CMakeLists.txt @@ -8,7 +8,13 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_CXX_EXTENSIONS False) -# TODO: Figure out how to avoid the terminfo check +set(CMAKE_DISABLE_FIND_PACKAGE_CURL ON) +set(CMAKE_DISABLE_FIND_PACKAGE_LibEdit ON) +set(CMAKE_DISABLE_FIND_PACKAGE_LibXml2 ON) +set(CMAKE_DISABLE_FIND_PACKAGE_Terminfo ON) +set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON) +set(CMAKE_DISABLE_FIND_PACKAGE_zstd ON) + find_package(LLVM REQUIRED CONFIG) find_program(CLANG_TIDY_EXE NAMES "clang-tidy-${LLVM_VERSION_MAJOR}" "clang-tidy" HINTS ${LLVM_TOOLS_BINARY_DIR}) message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}") |