Sorry for reviving a thread, buy may I ask exactly what you mean by this:
the FindSFML.cmake file should have been copied to your CMake directory.
I am having trouble as well with compiling the C binding of sfml. I am receiving the same error as Richy19:
CMake Error at src/SFML/CMakeLists.txt:22 (find_package):
Could not find module FindSFML.cmake or a configuration file for package
SFML.
Adjust CMAKE_MODULE_PATH to find FindSFML.cmake or set SFML_DIR to the
directory containing a CMake configuration file for SFML. The file will
have one of the following names:
SFMLConfig.cmake
sfml-config.cmake
The steps I took to compile CSFML was to first compile SFML2 (latest snapshot) with CMake-Gui using "Visual Studio 9 2008".
After that I had two different outputs, sfml-build in the sfml snapshot folder and %APPDATA%/SFML. These two folders
contained solutions to build the projects for Visual Studio 2008. The one in %APPDATA% compiled successfully whilst the one
in the SFML-Build folder only succeeded with two out of 5 projects.
I can't find the SFMLConfig nor sfml-config in neither of these directories, therefore I am wondering where this cmake file i supposed to be located!
Thanks in beforehand!