Skip to content
Permalink
Browse files

Merge pull request #42337 from nirvn/fix_build_no_georeferencer

Fix building QGIS when WITH_GEOREFERENCER is false
  • Loading branch information
nirvn committed Mar 20, 2021
2 parents d4d0d20 + 959173a commit 71555aba64bc771597bb94a307e954a9f6010b70
Showing with 4 additions and 1 deletion.
  1. +3 −0 .ci/ogc/build.sh
  2. +1 −1 CMakeLists.txt
@@ -18,7 +18,10 @@ cmake -GNinja \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_GEOREFERENCER=OFF \
-DWITH_ANALYSIS=ON \
-DWITH_DESKTOP=OFF \
-DWITH_GUI=OFF \
-DWITH_BINDINGS=ON \
-DWITH_SERVER=ON \
-DWITH_SERVER_PLUGINS=ON \
@@ -678,7 +678,7 @@ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050800)
# For fast string concatenation
add_definitions(-DQT_USE_QSTRINGBUILDER)

if (WITH_GEOREFERENCER)
if (WITH_GEOREFERENCER OR WITH_ANALYSIS)
find_package(GSL REQUIRED)
set(HAVE_GEOREFERENCER TRUE)
endif()

0 comments on commit 71555ab

Please sign in to comment.