CMake Error at CMakeLists.txt:23 (find_package):
By not providing “FindArcus.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Arcus”, but
CMake did not find one.
Could not find a package configuration file provided by “Arcus” with any of
the following names:
Add the installation prefix of “Arcus” to CMAKE_PREFIX_PATH or set
“Arcus_DIR” to a directory containing one of the above files. If “Arcus”
provides a separate development package or SDK, be sure it has been
With the core18-based snapcraft.yaml the snap is generated perfectly, with core20 it always puts out the above error.
That looks to be the case. The v1 cmake plugin (used for core and core18 sets CMAKE_PREFIX_PATH to include the stage directory, where it’d pick up the cmake config from the previous part. The v2 plugin doesn’t.
Given that things like PKG_CONFIG_PATH are still being set in the v2 plugins world, this seems like something the v2 cmake plugin should still do.