Skip to content

Commit 58aa6c2

Browse files
committed
Fix Windows link: add Boost::exception for Boost 1.90 throw_exception
1 parent b3db02d commit 58aa6c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ find_package(yaml-cpp REQUIRED)
4040
add_library(core STATIC ${source})
4141
target_link_libraries(core btclibs)
4242

43-
target_link_libraries(core Boost::headers Boost::log Boost::log_setup Boost::thread Boost::filesystem yaml-cpp nlohmann_json::nlohmann_json ${LEVELDB_LIBRARIES})
43+
target_link_libraries(core Boost::headers Boost::log Boost::log_setup Boost::thread Boost::filesystem Boost::exception yaml-cpp nlohmann_json::nlohmann_json ${LEVELDB_LIBRARIES})
4444

4545
# Add LevelDB include directories
4646
target_include_directories(core PUBLIC ${LEVELDB_INCLUDE_DIRS})

0 commit comments

Comments
 (0)