aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-03-22 13:48:00 +0000
committerfanquake <fanquake@gmail.com>2024-03-22 13:48:00 +0000
commit11ee058ef5794de5f1b8e89d62bfa69c64693fff (patch)
tree3c64d0b53a7806675770a52d2ba5206f001329dd /contrib
parentc3a4ea19715de292517b932d0a3b24ace72e9919 (diff)
downloadbitcoin-11ee058ef5794de5f1b8e89d62bfa69c64693fff.tar.xz
tidy: remove C compiler check
Also requires disabling FFI.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/devtools/bitcoin-tidy/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/devtools/bitcoin-tidy/CMakeLists.txt b/contrib/devtools/bitcoin-tidy/CMakeLists.txt
index f0d3f40a75..1260c71423 100644
--- a/contrib/devtools/bitcoin-tidy/CMakeLists.txt
+++ b/contrib/devtools/bitcoin-tidy/CMakeLists.txt
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.22)
-project(bitcoin-tidy VERSION 1.0.0 DESCRIPTION "clang-tidy checks for Bitcoin Core")
+project(bitcoin-tidy
+ VERSION
+ 1.0.0
+ DESCRIPTION "clang-tidy checks for Bitcoin Core"
+ LANGUAGES CXX)
include(GNUInstallDirs)
@@ -9,6 +13,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS False)
set(CMAKE_DISABLE_FIND_PACKAGE_CURL ON)
+set(CMAKE_DISABLE_FIND_PACKAGE_FFI ON)
set(CMAKE_DISABLE_FIND_PACKAGE_LibEdit ON)
set(CMAKE_DISABLE_FIND_PACKAGE_LibXml2 ON)
set(CMAKE_DISABLE_FIND_PACKAGE_Terminfo ON)