From 7f6656e2d42a0af9f29119912c7ac23b11f38079 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshev Date: Thu, 31 Oct 2024 16:31:53 +0300 Subject: [PATCH] SVG: NanoSVG requires the math library --- src/sail-codecs/svg/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sail-codecs/svg/CMakeLists.txt b/src/sail-codecs/svg/CMakeLists.txt index a551aca9..eca60ce9 100644 --- a/src/sail-codecs/svg/CMakeLists.txt +++ b/src/sail-codecs/svg/CMakeLists.txt @@ -88,4 +88,8 @@ if (SAIL_RESVG) endif() else() target_compile_definitions(${SAIL_CODEC_TARGET} PRIVATE SAIL_NANOSVG) + + # NanoSVG requires the math library + # + target_link_libraries(${SAIL_CODEC_TARGET} PRIVATE m) endif()