From 1ec5408d7a87a6d9a086078bf58b3e2be7b37fe2 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 16 Mar 2025 15:48:48 +0000 Subject: [PATCH] Find boost in CONFIG mode of CMake To silence CMake's warning Fix #1934 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 348024b7..8c899867 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,7 +261,7 @@ endif() tristate_option(I18N "Native language support (i18n)") if(WANT_I18N) - find_package(Boost ${TRISTATE_I18N_REQUIRED} COMPONENTS locale) + find_package(Boost ${TRISTATE_I18N_REQUIRED} COMPONENTS locale CONFIG) find_package(Gettext ${TRISTATE_I18N_REQUIRED}) endif() if(Boost_LOCALE_FOUND AND GETTEXT_MSGFMT_EXECUTABLE)