Skip to content

Commit

Permalink
Remove obsolete WITH_GEOREFERENCER
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jun 1, 2021
1 parent 54e8d80 commit 018efaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .ci/ogc/build.sh
Expand Up @@ -18,7 +18,6 @@ cmake -GNinja \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_GEOREFERENCER=OFF \
-DWITH_ANALYSIS=ON \
-DWITH_DESKTOP=OFF \
-DWITH_GUI=OFF \
Expand Down
6 changes: 1 addition & 5 deletions CMakeLists.txt
Expand Up @@ -279,8 +279,6 @@ if(WITH_CORE)
endif()
set (WITH_QTMOBILITY ${DEFAULT_WITH_QTMOBILITY} CACHE BOOL "Determines if QtMobility related code should be build (for example internal GPS)")

set (WITH_GEOREFERENCER TRUE CACHE BOOL "Determines whether GeoReferencer plugin should be built")

set (WITH_THREAD_LOCAL TRUE CACHE BOOL "Determines whether std::thread_local should be used")
mark_as_advanced(WITH_THREAD_LOCAL)

Expand Down Expand Up @@ -710,9 +708,7 @@ set(WITH_GSL TRUE CACHE BOOL "Determines whether GSL library should be used")
if (WITH_ANALYSIS AND WITH_GSL)
find_package(GSL REQUIRED)
set(HAVE_GSL TRUE)
if (WITH_GEOREFERENCER)
set(HAVE_GEOREFERENCER TRUE)
endif()
set(HAVE_GEOREFERENCER TRUE)
endif()

if(ENABLE_COVERAGE)
Expand Down
4 changes: 2 additions & 2 deletions src/app/CMakeLists.txt
Expand Up @@ -252,7 +252,7 @@ if (WITH_SPATIALITE)
)
endif()

if (WITH_GEOREFERENCER)
if (HAVE_GEOREFERENCER)
set(QGIS_APP_SRCS
${QGIS_APP_SRCS}
georeferencer/qgsgcpcanvasitem.cpp
Expand Down Expand Up @@ -547,7 +547,7 @@ if (WITH_3D)
target_link_libraries(qgis_app qgis_3d)
endif()

if (WITH_GEOREFERENCER)
if (HAVE_GEOREFERENCER)
include_directories(SYSTEM
${GSL_INCLUDE_DIR}
)
Expand Down

0 comments on commit 018efaa

Please sign in to comment.