mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00

By using static linkage, we are opening ourselves up to ODR violations that result in runtime crashes (rather than build-time link errors). For example, we've seen this happen while trying to use Skia context in both LibGfx and LibWeb.
3 lines
204 B
CMake
3 lines
204 B
CMake
# Ideally, we would set VCPKG_BUILD_TYPE="debug", but that is currently not supported as a standalone build type.
|
|
# See: https://github.com/microsoft/vcpkg/issues/38224
|
|
set(VCPKG_LIBRARY_LINKAGE dynamic)
|