sharpyuv/Makefile.am+cmake: add missing -lm

this lib uses functions from math.h

Change-Id: I316f058c9e42e4888cce0d380472518a77e21517
This commit is contained in:
James Zern
2022-10-24 17:38:29 -07:00
parent c42e6d5a89
commit a02978c250
3 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,7 @@ check_c_source_compiles(
HAVE_MATH_LIBRARY)
if(NOT HAVE_MATH_LIBRARY)
message(STATUS "Adding -lm flag.")
list(APPEND SHARPYUV_DEP_LIBRARIES m)
list(APPEND WEBP_DEP_LIBRARIES m)
endif()