--- CMakeLists.txt.orig 2021-05-24 09:18:08 UTC +++ CMakeLists.txt @@ -47,6 +47,7 @@ include(TranslateDesktop) include(DefineCMakeDefaults) include(DefineCompilerFlags) include(DefineInstallationPaths) +include(FindPkgConfig) include(CPackConfig.cmake) include(ConfigureChecks.cmake) @@ -151,7 +152,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)