mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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:
parent
61673ec919
commit
fed4daf4e7
@ -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})
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user