[Compile] 1.7.0 6026: rapidyaml
Im trying to compile pcsx2, but with the changes of removing yaml-cpp and adding rapidyaml, im getting an error.  Im using Fedora 34.

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:


  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
Call Stack (most recent call first):
  CMakeLists.txt:27 (include)

-- Configuring incomplete, errors occurred!

Looking through SearchForStuff.cmake, i see:

find_package(ryml REQUIRED)

Before the edit, the line was:

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.)

Sponsored links

Users browsing this thread: 1 Guest(s)