From 18efab1dbb4efb98c26f72c5ea0e800cee5dc9ec Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 25 Jun 2022 11:29:06 +0100 Subject: [PATCH] CMake: libbfd on MinGW is now off by default --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00fd965b00..b1272bec5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -180,7 +180,9 @@ endif() if (MINGW) find_package(Demangle) - find_package(BFD) + if (OPTION_ENABLE_MINGW_BFD) + find_package(BFD) + endif (OPTION_ENABLE_MINGW_BFD) find_package(DbgHelp) endif (MINGW)