[c++ quotes] Make sure to include all of the required Boost libraries.

Also Boost-iostreams needs winsock but doesn't tell Cmake, so explicitly
add it to the link list.
This commit is contained in:
John Ralls 2023-01-08 16:11:58 -08:00
parent 61673ec919
commit fed4daf4e7
2 changed files with 2 additions and 2 deletions

View File

@ -546,7 +546,7 @@ set (Boost_FIND_QUIETLY ON)
if (NOT DEFINED ${BOOST_ROOT})
set(BOOST_ROOT $ENV{BOOST_ROOT})
endif()
find_package (Boost 1.67.0 COMPONENTS date_time regex locale filesystem system program_options)
find_package (Boost 1.67.0 COMPONENTS algorithm asio date_time filesystem iostreams locale process program_options property_tree regex system)
if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})

View File

@ -65,7 +65,7 @@ set(app_utils_ALL_INCLUDES
if (WIN32)
list(APPEND app_utils_ALL_SOURCES gnc-help-utils.c)
list(APPEND app_utils_ALL_LIBRARIES ${HTMLHELP_LIBRARY})
list(APPEND app_utils_ALL_LIBRARIES ${HTMLHELP_LIBRARY} "-lwsock32")
list(APPEND app_utils_ALL_INCLUDES ${HTMLHELP_INCLUDE_PATH})
endif()