Skip to content
Permalink
Browse files
do not build virtual raster without analysis (#44728)
  • Loading branch information
3nids committed Aug 17, 2021
1 parent 6d66dd2 commit 930df73bcd85da76d4c1688a4af4ee52bceea106
Showing with 6 additions and 2 deletions.
  1. +3 −1 src/providers/CMakeLists.txt
  2. +3 −1 tests/src/providers/CMakeLists.txt
@@ -17,7 +17,9 @@ if (NOT FORCE_STATIC_LIBS)
add_subdirectory(gpx)
add_subdirectory(db2)
add_subdirectory(mdal)
add_subdirectory(virtualraster)
if (WITH_ANALYSIS)
add_subdirectory(virtualraster)
endif()

if (WITH_SPATIALITE)
add_subdirectory(spatialite)
@@ -41,7 +41,9 @@ add_qgis_test(testqgspostgresconn.cpp MODULE provider LINKEDLIBRARIES provider_p

if (NOT FORCE_STATIC_PROVIDERS)
add_qgis_test(testqgsmdalprovider.cpp MODULE provider LINKEDLIBRARIES qgis_core)
add_qgis_test(testqgsvirtualrasterprovider.cpp MODULE provider LINKEDLIBRARIES qgis_core qgis_analysis)
if (WITH_ANALYSIS)
add_qgis_test(testqgsvirtualrasterprovider.cpp MODULE provider LINKEDLIBRARIES qgis_core qgis_analysis)
endif()
endif()

if (WITH_EPT)

0 comments on commit 930df73

Please sign in to comment.