Skip to content

Commit 5b690ae

Browse files
committed
tidy: remove terminfo TODO
At the same time, also disable searching for CURL, LibEdit, LibXml2, ZLIB and zstd none of which we use.
1 parent 24410e5 commit 5b690ae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

contrib/devtools/bitcoin-tidy/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ set(CMAKE_CXX_STANDARD 17)
88
set(CMAKE_CXX_STANDARD_REQUIRED True)
99
set(CMAKE_CXX_EXTENSIONS False)
1010

11-
# TODO: Figure out how to avoid the terminfo check
11+
set(CMAKE_DISABLE_FIND_PACKAGE_CURL ON)
12+
set(CMAKE_DISABLE_FIND_PACKAGE_LibEdit ON)
13+
set(CMAKE_DISABLE_FIND_PACKAGE_LibXml2 ON)
14+
set(CMAKE_DISABLE_FIND_PACKAGE_Terminfo ON)
15+
set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB ON)
16+
set(CMAKE_DISABLE_FIND_PACKAGE_zstd ON)
17+
1218
find_package(LLVM REQUIRED CONFIG)
1319
find_program(CLANG_TIDY_EXE NAMES "clang-tidy-${LLVM_VERSION_MAJOR}" "clang-tidy" HINTS ${LLVM_TOOLS_BINARY_DIR})
1420
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")

0 commit comments

Comments
 (0)