Hi, I try to compile a project which uses SFML on linux but it doesn't seems to work.
CMake give me the followings errors messages :
Found SFML . in /usr/SFML-2.1/include
CMake Error at src/odfaeg/Core/CMakeLists.txt:44 (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
configuring incomplete, errors occurred!
But, it work on window, when I add this lines in the CMakeList :
include(${PROJECT_SOURCE_DIR}/cmake/Modules/FindSFML.cmake)
It's very strange, the SFML dir is in usr/SFML-2.1.
It finds the SFML dir so but it doesn't find the FindSFML.cmake on my ubuntu...