Yalir / sfeMovie

sfeMovie is a simple C++ library that lets you play movies in SFML based applications. It relies on FFmpeg to read medias and remains consistent with SFML's naming conventions.
http://sfemovie.yalir.org/
GNU Lesser General Public License v2.1
114 stars 37 forks source link

fix finding ffmpeg when linking against existing library #30

Closed firefly2442 closed 11 years ago

firefly2442 commented 11 years ago

Under the following conditions, I had a CMake error:

BUILD_FFMPEG: False LINK_AGAINST_PROVIDED_FFMPEG: False

I had to make the following change which then successfully built on Linux. It is untested on Windows/Mac.

I think the problem was FFMPEG_LIBRARY_DIR is not set by FindFFMPEG.cmake.

Ceylo commented 11 years ago

firefly2442, as you're already helping with pull requests, I was wondering whether you would like to participate as part of the team. I'm trying to gather some people to push the project further. At the moment I know another potential developer. With both of you we'd be 3. In case you're interested, could you give me a way to contact you in private (by email or through the SFML forum)?

firefly2442 commented 11 years ago

Ahh, I see, I'm not very experienced with CMake so most of this is just trial and error. :)

Email sent.