CMake: only use libwebpdecoder for building dwebp

Change-Id: Ia972c063711529d1e9a7fa79cf250d0764840e6f
This commit is contained in:
Pascal Massimino 2017-02-04 00:04:23 -08:00
parent 1b0e4abf08
commit e0012bea23

View File

@ -167,7 +167,7 @@ if(WEBP_BUILD_DWEBP)
parse_Makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/examples "DWEBP_SRCS"
"dwebp")
add_executable(dwebp ${DWEBP_SRCS})
target_link_libraries(dwebp exampleutil imagedec imageenc webp)
target_link_libraries(dwebp exampleutil imagedec imageenc webpdecoder)
endif()
if(WEBP_BUILD_CWEBP)