Hi ! I'm just a noob with CMake so do not dispute me. I did not understand the instruction line in the README: Set CMAKE_MODULE_PATH to SFML's directory SFML/cmake/Modules or install the FindSFML.cmake in your shared CMake directory
So I got the error: Could not find a package configuration file provided by "SFML" (requested version 2) with any of the following names: SFMLConfig.cmake sfml-config.cmake
To fix it:
I copied the SFML/cmake/Modules/FindSFML.cmake on the root of citybuilder (I downloaded SFML from github).
I added the following line set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/" ${CMAKE_MODULE_PATH}) at line 42 of the CMakeLists.txt
Hi ! I'm just a noob with CMake so do not dispute me. I did not understand the instruction line in the README:
Set CMAKE_MODULE_PATH to SFML's directory SFML/cmake/Modules or install the FindSFML.cmake in your shared CMake directory
So I got the error:
Could not find a package configuration file provided by "SFML" (requested version 2) with any of the following names: SFMLConfig.cmake sfml-config.cmake
To fix it:
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/" ${CMAKE_MODULE_PATH})
at line 42 of the CMakeLists.txtHope this will help somebody.