diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-10-10 17:03:08 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-10-10 17:03:08 +0800 |
commit | c54df44ae195c2bc6ac697eac35ac2daf6a288c0 (patch) | |
tree | a690cee93a50b58ee600ec4c073e6d17e274356a /indra/cmake/Boost.cmake | |
parent | 8cd24e8bc493d0f182bae70726b34d8ec8da3f1f (diff) |
Tumbleweed & vcpkg Boost has been upgraded to 1.89
and boost-system is now header only.
Diffstat (limited to 'indra/cmake/Boost.cmake')
-rw-r--r-- | indra/cmake/Boost.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/cmake/Boost.cmake b/indra/cmake/Boost.cmake index 0d5137304b..9296ebe109 100644 --- a/indra/cmake/Boost.cmake +++ b/indra/cmake/Boost.cmake @@ -13,9 +13,9 @@ elseif (WINDOWS) target_include_directories( ll::boost SYSTEM INTERFACE ${prefix_result}/../include) target_link_directories( ll::boost INTERFACE ${prefix_result}) if ($ENV{MSYSTEM_CARCH} MATCHES aarch64) - set(sfx -vc143-mt-a64-1_88) + set(sfx -vc143-mt-a64-1_89) else () - set(sfx -vc143-mt-x64-1_88) + set(sfx -vc143-mt-x64-1_89) endif () else () find_package( Boost REQUIRED ) @@ -25,7 +25,6 @@ target_link_libraries( ll::boost INTERFACE boost_fiber${sfx} boost_filesystem${sfx} boost_program_options${sfx} - boost_system${sfx} boost_thread${sfx} boost_url${sfx} ) @@ -34,6 +33,9 @@ if (WINDOWS) else () target_link_libraries( ll::boost INTERFACE boost_regex${sfx}) endif () +if (NOT (${LINUX_DISTRO} MATCHES opensuse-tumbleweed OR WINDOWS)) + target_link_libraries( ll::boost INTERFACE boost_system${sfx}) +endif () target_compile_definitions( ll::boost INTERFACE BOOST_BIND_GLOBAL_PLACEHOLDERS ) return() |