Find boost in CONFIG mode of CMake

To silence CMake's warning

Fix #1934
This commit is contained in:
Alexey Sokolov
2025-03-16 15:48:48 +00:00
parent 26d2b8fc86
commit 1ec5408d7a
+1 -1
View File
@@ -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)