From 628c200400dc9aa687c06a419d076a558651b1b9 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 4 Jun 2025 22:25:29 +0800 Subject: No link to vcpkg absent Boost Regex library file --- indra/cmake/Boost.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/cmake') 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() -- cgit v1.2.3