mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Find boost in CONFIG mode of CMake
To silence CMake's warning Fix #1934
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user