Fix build when part of Boost was found

Fix #1969
Ref #1934
This commit is contained in:
Alexey Sokolov
2025-07-24 22:15:16 +01:00
parent bc75563dee
commit 2daae4358a

View File

@@ -63,7 +63,7 @@ target_link_libraries(znclib PRIVATE ${CMAKE_DL_LIBS} Threads::Threads)
if(ZLIB_FOUND)
target_link_libraries(znclib PRIVATE ZLIB::ZLIB)
endif()
if(Boost_FOUND)
if(Boost_LOCALE_FOUND)
target_link_libraries(znclib PRIVATE Boost::locale)
endif()
if(ZNC_HAVE_ARGON)