12-27-2021, 08:35 AM
Im trying to compile pcsx2, but with the changes of removing yaml-cpp and adding rapidyaml, im getting an error. Im using Fedora 34.
Looking through SearchForStuff.cmake, i see:
Before the edit, the line was:
Im clueless on this stuff, but if its set to REQUIRED then wouldn't it fail, even if i put it in the 3rdparty directory? I did change it to QUIET and it did compile ok. (Haven't tested it yet though.)
Code:
CMake Error at cmake/SearchForStuff.cmake:232 (find_package):
By not providing "Findryml.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ryml", but
CMake did not find one.
Could not find a package configuration file provided by "ryml" with any of
the following names:
rymlConfig.cmake
ryml-config.cmake
Add the installation prefix of "ryml" to CMAKE_PREFIX_PATH or set
"ryml_DIR" to a directory containing one of the above files. If "ryml"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:27 (include)
-- Configuring incomplete, errors occurred!
Looking through SearchForStuff.cmake, i see:
Code:
find_package(ryml REQUIRED)
Before the edit, the line was:
Code:
find_package(yaml-cpp "0.6.3" QUIET)
Im clueless on this stuff, but if its set to REQUIRED then wouldn't it fail, even if i put it in the 3rdparty directory? I did change it to QUIET and it did compile ok. (Haven't tested it yet though.)