Open dmacks opened 4 years ago
I made a commit to master. Can you verify if this fixes your issue?
Applying 339ebc5:
-- Found PNG: /sw/lib/libpng.dylib (found version "1.6.37")
CMake Error at CMakeLists.txt:95 (target_link_libraries):
Object library target "libffmpegthumbnailerobj" may not link to anything.
-- Configuring incomplete, errors occurred!
I'm usiung -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
if that matters.
Use master. It's more than 1 commit. I bumped the minimum cmake versions which changes object library linking behavior
That solved it. Thanks!
I'm trying to build version 2.2.2 on my OS X 10.13 machine, with ffmpeg4 (and all other deps) supplied by fink, cmake detects ffmpeg:
but then does not pass the flags correctly, therefore compiling of moviedecoder.cpp fails:
Looking at the CMakeFiles/*.dir/flags.make, both ffmpegthumbnailer and libffmpegthumbnailerstatic have the correct flags in their respective CXX_INCLUDES, but libffmpegthumbnailerobj does not.
Version 2.1.1 built fine.