I am working on an SFML project driven by CMake:
http://github.com/Dragnalith/NawpTo avoid cross-platform dependency problems I have included SFML in my repo, managed with the subtree merge feature of git. SFML CMakeLists.txt is included in my main CMakeLists.txt with
add_subdirectory. When I do the build, everything is built automatically, wonderful!
My problem is on
OS X, because of Freetype you need to
install SFML (e.g do a
make install) to copy the framework on your system, otherwise you have a
yld: Library not loaded. This step breaks my seamless build workflow.
I'd like to make my app look for the framework in the path of my project and not in /Library/Framework. How can I do that?
(On Windows, one solution would be to copy the .dll in the same folder as my .exe, but I don't know how it works on OS X)