Hello all,
I always used SFML with Visual studio without problems, but now recently I want to change from a VS environment to Cmake so I can develop both on my windows PC and my linux laptop.
The problem arises when using the find_package(SFML 2 REQUIRED system window graphics network audio)
I've added the FindSFML.cmake file, but I get the following error when trying to run cmake:
"Cmake Error at cmake_modules/FindSFML.cmake:307 (message):
Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY etc. etc.
I installed SFML in C:\Project Files (x86)\, I've set a system variable SFML_ROOT to "C:\Project Files (x86)\SFML". I'm clueless to why it cannot find this directory. This directory contains the complete content of the SFML-2.1-windows-vc11-64bits.zip file that I just downloaded, did I have to do more to install SFML?
(E.g. System.hpp is located in "C:\Program Files (x86)\SFML\include\SFML")
Kind regards,
Rob