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

@ -86,6 +86,7 @@ if(WEBP_BUILD_WEBP_JS)
endif()
endif()
set(SHARPYUV_DEP_LIBRARIES)
set(WEBP_DEP_LIBRARIES)
set(WEBP_DEP_INCLUDE_DIRS)
@ -290,6 +291,7 @@ endfunction()
parse_makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/sharpyuv "WEBP_SHARPYUV_SRCS" "")
add_library(sharpyuv ${WEBP_SHARPYUV_SRCS})
target_link_libraries(sharpyuv ${SHARPYUV_DEP_LIBRARIES})
set_version(sharpyuv/Makefile.am sharpyuv sharpyuv)
target_include_directories(
sharpyuv PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}