Skip to content

Commit

Permalink
SVG: NanoSVG requires the math library
Browse files Browse the repository at this point in the history
  • Loading branch information
HappySeaFox committed Oct 31, 2024
1 parent a7c13b4 commit 7f6656e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sail-codecs/svg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 7f6656e

Please sign in to comment.