Skip to content
Permalink
Browse files
rename virtualraster provider (refs #44804)
  • Loading branch information
jef-n committed Aug 24, 2021
1 parent bc192a6 commit ec80d5aeac5cebece3964378d68ac9bdbb40bafd
Showing with 7 additions and 7 deletions.
  1. +1 −1 debian/qgis-providers.install
  2. +6 −6 src/providers/virtualraster/CMakeLists.txt
@@ -19,7 +19,7 @@ usr/lib/qgis/plugins/libprovider_postgres.so
usr/lib/qgis/plugins/libprovider_postgresraster.so
usr/lib/qgis/plugins/libprovider_spatialite.so
usr/lib/qgis/plugins/libprovider_virtuallayer.so
usr/lib/qgis/plugins/libvirtualraster.so
usr/lib/qgis/plugins/libprovider_virtualraster.so
usr/lib/qgis/plugins/libprovider_wcs.so
usr/lib/qgis/plugins/libprovider_wfs.so
usr/lib/qgis/plugins/libprovider_wms.so
@@ -11,29 +11,29 @@ set(VRP_HDRS
########################################################
# Build

add_library (virtualraster MODULE ${VRP_SRCS} ${VRP_HDRS})
add_library (provider_virtualraster MODULE ${VRP_SRCS} ${VRP_HDRS})

# require c++17
target_compile_features(virtualraster PRIVATE cxx_std_17)
target_compile_features(provider_virtualraster PRIVATE cxx_std_17)

target_link_libraries (virtualraster
target_link_libraries (provider_virtualraster
qgis_core
qgis_analysis
)

target_compile_definitions(virtualraster PRIVATE "-DQT_NO_FOREACH")
target_compile_definitions(provider_virtualraster PRIVATE "-DQT_NO_FOREACH")

# clang-tidy
if(CLANG_TIDY_EXE)
set_target_properties(
virtualraster PROPERTIES
provider_virtualraster PROPERTIES
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
)
endif()

########################################################
# Install

install(TARGETS virtualraster
install(TARGETS provider_virtualraster
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})

0 comments on commit ec80d5a

Please sign in to comment.