summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-06-04 22:25:29 +0800
committerErik Kundiman <erik@megapahit.org>2025-06-04 22:25:29 +0800
commit628c200400dc9aa687c06a419d076a558651b1b9 (patch)
treea4792a6812e574e982a0733bbfb3de178a0b1542
parent7be4892f658d2ac1a63c656bed4cb5628898be98 (diff)
No link to vcpkg absent Boost Regex library file
-rw-r--r--indra/cmake/Boost.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/cmake/Boost.cmake b/indra/cmake/Boost.cmake
index 764019408b..df5f05a200 100644
--- a/indra/cmake/Boost.cmake
+++ b/indra/cmake/Boost.cmake
@@ -22,11 +22,13 @@ target_link_libraries( ll::boost INTERFACE
boost_filesystem${sfx}
boost_json${sfx}
boost_program_options${sfx}
- boost_regex${sfx}
boost_system${sfx}
boost_thread${sfx}
boost_url${sfx}
)
+if (NOT WINDOWS)
+ target_link_libraries( ll::boost INTERFACE boost_regex${sfx})
+endif ()
target_compile_definitions( ll::boost INTERFACE BOOST_BIND_GLOBAL_PLACEHOLDERS )
return()