Hi!
I've installed SFML 2.2 on my Mac OS X Yosemite, and can successfully compile and run the XCode template application.
I want to set up a project with CMake instead and used the example files here:
https://github.com/SFML/SFML/wiki/Tutorial:-Build-your-SFML-project-with-CMakeThese are those files in a little repo:
https://github.com/prewk/sfml-boilerplateWhen i run "make" I get the following output (and error):
$ make
Scanning dependencies of target myproject
[100%] Building CXX object CMakeFiles/myproject.dir/main.cpp.o
Linking CXX executable myproject
ld: framework not found sfml-system
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [myproject] Error 1
make[1]: *** [CMakeFiles/myproject.dir/all] Error 2
make: *** [all] Error 2
It can't seem to find the framework files.
I've put the framework and extlibs dirs into /Library/Framework, the libs into /usr/local/lib, and the includes into /usr/local/include
I might add that I can successfully compile SDL2 without problems, where the files are in /usr/local/lib and /usr/local/include (installed via brew).
Halp!