From c341a4f4e19bd2e1dc58b598b84534ece53cd941 Mon Sep 17 00:00:00 2001 From: zxl hhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Sat, 30 Aug 2025 23:21:24 +0800 Subject: [PATCH] Update 002-Fix-boost1.89-build.patch --- trojan/patches/002-Fix-boost1.89-build.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trojan/patches/002-Fix-boost1.89-build.patch b/trojan/patches/002-Fix-boost1.89-build.patch index 2e801a6b..5d097c21 100644 --- a/trojan/patches/002-Fix-boost1.89-build.patch +++ b/trojan/patches/002-Fix-boost1.89-build.patch @@ -1,6 +1,6 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -21,7 +21,13 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) +@@ -21,7 +21,12 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) target_link_libraries(trojan ${CMAKE_THREAD_LIBS_INIT}) @@ -11,7 +11,6 @@ +else() + find_package(Boost 1.66.0 REQUIRED COMPONENTS program_options) +endif() -+ target_include_directories(trojan PRIVATE ${Boost_INCLUDE_DIR}) target_link_libraries(trojan ${Boost_LIBRARIES}) if(MSVC)