Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
When trying to do
find_package(PROJ CONFIG REQUIRED)
in an external library using OSX arm64 and PROJ 9.1.x or PROJ 9.2 from Conda Forge, I get the following complaint from CMake
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a configuration file for package "PROJ" that is compatible
with requested version "".
The following configuration files were considered but not accepted:
/Users/hobu/miniforge3/envs/lapis/lib/cmake/proj/proj-config.cmake, version: 9.1.1 (cross-compiling = TRUE)
When I self-build my own PROJ 9.2 and install it, find_package succeeds as expected.
I think the hint about what's going on is
(cross-compiling = TRUE)
Is there something about how our cross-compiled OSX arm64 build is built that is confusing CMake when it writes its config files?
Solution to issue cannot be found in the documentation.
Issue
When trying to do
in an external library using OSX arm64 and PROJ 9.1.x or PROJ 9.2 from Conda Forge, I get the following complaint from CMake
When I self-build my own PROJ 9.2 and install it,
find_package
succeeds as expected.I think the hint about what's going on is
Is there something about how our cross-compiled OSX arm64 build is built that is confusing CMake when it writes its config files?
Installed packages