remove unnecessary cmake_minimum_required from sub projects

This commit is contained in:
Mathis Logemann 2021-02-03 19:14:08 +01:00
parent 0b76278adc
commit dec9056511
20 changed files with 2 additions and 28 deletions

View file

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
if(BUILD_DEMO_VIEWER) if(BUILD_DEMO_VIEWER)
message(STATUS "Building demo viewer") message(STATUS "Building demo viewer")
add_subdirectory(viewer) add_subdirectory(viewer)

1
deps/CMakeLists.txt vendored
View file

@ -1,2 +1 @@
cmake_minimum_required(VERSION 3.15.0)
add_subdirectory(agg) add_subdirectory(agg)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(agg) project(agg)
add_library(agg INTERFACE) add_library(agg INTERFACE)

View file

@ -1,2 +1 @@
cmake_minimum_required(VERSION 3.15.0)
add_subdirectory(input) add_subdirectory(input)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
if(USE_PLUGIN_INPUT_CSV) if(USE_PLUGIN_INPUT_CSV)
message(STATUS "using input plugin csv") message(STATUS "using input plugin csv")
add_subdirectory(csv) add_subdirectory(csv)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-csv) project(input-csv)
add_library(input-csv SHARED add_library(input-csv SHARED
@ -23,4 +22,4 @@ set_target_properties(input-csv PROPERTIES SUFFIX ".input")
install(TARGETS input-csv install(TARGETS input-csv
RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR} RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR}
) )

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-gdal) project(input-gdal)
find_package(GDAL REQUIRED) find_package(GDAL REQUIRED)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-geobuf) project(input-geobuf)
add_library(input-geobuf SHARED add_library(input-geobuf SHARED
@ -17,4 +16,4 @@ set_target_properties(input-geobuf PROPERTIES SUFFIX ".input")
install(TARGETS input-geobuf install(TARGETS input-geobuf
RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR} RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR}
) )

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-geojson) project(input-geojson)
add_library(input-geojson SHARED add_library(input-geojson SHARED

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-ogr) project(input-ogr)
find_package(GDAL REQUIRED) find_package(GDAL REQUIRED)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-pgraster) project(input-pgraster)
find_package(PostgreSQL REQUIRED) find_package(PostgreSQL REQUIRED)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-postgis) project(input-postgis)
find_package(PostgreSQL REQUIRED) find_package(PostgreSQL REQUIRED)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-raster) project(input-raster)
add_library(input-raster SHARED add_library(input-raster SHARED

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-shape) project(input-shape)
add_library(input-shape SHARED add_library(input-shape SHARED

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-sqlite) project(input-sqlite)
find_package(SQLite3 REQUIRED) find_package(SQLite3 REQUIRED)

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
project(input-topojson) project(input-topojson)
add_library(input-topojson SHARED add_library(input-topojson SHARED

View file

@ -1,6 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
add_subdirectory(json) add_subdirectory(json)
add_subdirectory(wkt) add_subdirectory(wkt)

View file

@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
add_library(json STATIC add_library(json STATIC
extract_bounding_boxes_x3.cpp extract_bounding_boxes_x3.cpp
feature_from_geojson.cpp feature_from_geojson.cpp

View file

@ -1,6 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
add_library(wkt STATIC add_library(wkt STATIC
geometry_to_wkt.cpp geometry_to_wkt.cpp
mapnik_wkt_generator_grammar.cpp mapnik_wkt_generator_grammar.cpp

View file

@ -1,4 +1,3 @@
cmake_minimum_required(VERSION 3.15.0)
if(BUILD_UTILITY_GEOMETRY_TO_WKB) if(BUILD_UTILITY_GEOMETRY_TO_WKB)
message(STATUS "building utility geometry_to_wkb") message(STATUS "building utility geometry_to_wkb")
add_subdirectory(geometry_to_wkb) add_subdirectory(geometry_to_wkb)