1
General / Re: Unable to use RSFML
« on: June 19, 2021, 03:59:06 pm »
Um sorry I'm late a lot has been happening but I seem to be getting this error after I add set(SMFL_DIR "<SFML_SRC_DIR>")
I really don't understand CMake
it seems to have found SFML but SFML_FOUND is set to false
but I went through the entire CMakeLists.txt file but I found no SMFL_FOUND anywhere
Quote
CMake Error at D:/msys64/mingw64/lib/cmake/SFML/SFMLConfig.cmake:139 (message):
SFML found but some of its dependencies are missing ( FreeType OpenAL
VorbisFile VorbisEnc Vorbis Ogg FLAC)
Call Stack (most recent call first):
src/SFML/CMakeLists.txt:25 (find_package)
CMake Error at src/SFML/CMakeLists.txt:25 (find_package):
Found package configuration file:
D:/msys64/mingw64/lib/cmake/SFML/SFMLConfig.cmake
but it set SFML_FOUND to FALSE so package "SFML" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
I really don't understand CMake
it seems to have found SFML but SFML_FOUND is set to false
but I went through the entire CMakeLists.txt file but I found no SMFL_FOUND anywhere