Skip to content

Commit

Permalink
Merge pull request #42337 from nirvn/fix_build_no_georeferencer
Browse files Browse the repository at this point in the history
Fix building QGIS when WITH_GEOREFERENCER is false
  • Loading branch information
nirvn committed Mar 20, 2021
2 parents d4d0d20 + 959173a commit 71555ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .ci/ogc/build.sh
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 71555ab

Please sign in to comment.