We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c13b4 commit 19f340fCopy full SHA for 19f340f
src/sail-codecs/svg/CMakeLists.txt
@@ -88,4 +88,12 @@ if (SAIL_RESVG)
88
endif()
89
else()
90
target_compile_definitions(${SAIL_CODEC_TARGET} PRIVATE SAIL_NANOSVG)
91
+
92
+ # NanoSVG requires the math library
93
+ #
94
+ find_library(MATH_LIBRARY m)
95
96
+ if (MATH_LIBRARY)
97
+ target_link_libraries(${SAIL_CODEC_TARGET} PRIVATE ${MATH_LIBRARY})
98
+ endif()
99
0 commit comments