You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
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
Hope this will help somebody.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: