--- CMakeLists.txt.orig 2023-07-20 14:13:59 UTC +++ CMakeLists.txt @@ -47,6 +47,7 @@ include(TranslateDesktop) include(DefineCMakeDefaults) include(DefineCompilerFlags) include(DefineInstallationPaths) +include(FindPkgConfig) include(CPackConfig.cmake) include(ConfigureChecks.cmake) @@ -185,7 +186,10 @@ find_package(Qt5WebEngineWidgets REQUIRED) find_package(Qt5Qml REQUIRED) find_package(Qt5Help REQUIRED) find_package(GDAL REQUIRED) -find_package(PROJ REQUIRED) +find_package(PROJ) +if (NOT PROJ_FOUND) + pkg_search_module(PROJ REQUIRED proj) +endif() find_package(JPEG REQUIRED) find_package(ROUTINO REQUIRED) find_package(QuaZip-Qt5 REQUIRED)