CMake:Boost: Try -DBOOST_ALL_DYN_LINK (didn't work)

This commit is contained in:
2025-11-06 21:54:57 -04:00
parent 457d0f9345
commit a7a85b0c1f
+3
View File
@@ -109,6 +109,9 @@ include_directories(
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_HEADER_ONLY OFF)
find_package(Boost REQUIRED COMPONENTS system log)
# Define BOOST_ALL_DYN_LINK project-wide to ensure all Boost libraries use dynamic linking
add_compile_definitions(BOOST_ALL_DYN_LINK)
find_package(PkgConfig REQUIRED)
find_package(FLEX REQUIRED)
find_package(BISON REQUIRED)