From 18bf9f9306dddc133f2596a14e9bb88f3aa8be73 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 15 Aug 2026 18:06:43 -0400 Subject: [PATCH] fixed windows build --- build/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 99be98e7..f6cbb741 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -276,9 +276,9 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") endif() if(Boost_VERSION VERSION_GREATER_EQUAL "1.75") - add_definitions(-DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_JSON_DYN_LINK) + add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_JSON_DYN_LINK) else() - add_definitions(-DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK) + add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK) endif() if(WIN32) set(Boost_USE_STATIC_LIBS OFF) @@ -287,9 +287,9 @@ else() endif() if(Boost_VERSION VERSION_GREATER_EQUAL "1.75") - find_package(Boost REQUIRED COMPONENTS filesystem program_options json) + find_package(Boost REQUIRED COMPONENTS atomic filesystem program_options json) else() - find_package(Boost REQUIRED COMPONENTS filesystem program_options) + find_package(Boost REQUIRED COMPONENTS atomic filesystem program_options) endif() if(NOT DEFINED Boost_FOUND)