diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c6dd598b..79aa279ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ endif() if(USE_PROJ4) message(STATUS "Using PROJ4") find_package(PROJ4 CONFIG REQUIRED) - list(APPEND MAPNIK_COMPILE_DEFS MAPNIK_USE_PROJ4) + list(APPEND MAPNIK_COMPILE_DEFS MAPNIK_USE_PROJ4 ACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1) list(APPEND MAPNIK_OPTIONAL_LIBS proj) endif() diff --git a/cmake/MapnikConfig.cmake.in b/cmake/MapnikConfig.cmake.in index db991109b..4a1773f42 100644 --- a/cmake/MapnikConfig.cmake.in +++ b/cmake/MapnikConfig.cmake.in @@ -2,4 +2,4 @@ include("${CMAKE_CURRENT_LIST_DIR}/MapnikTargets.cmake") -check_required_components(mapnik) \ No newline at end of file +check_required_components(mapnik) diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 96556acb3..1bc4c8ddd 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -8,4 +8,4 @@ endif() if(BUILD_DEMO_CPP) message(STATUS "Building c++ demo app") add_subdirectory(c++) -endif() \ No newline at end of file +endif() diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 69527cdfe..e96f65584 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -1,2 +1,2 @@ cmake_minimum_required(VERSION 3.15.0) -add_subdirectory(agg) \ No newline at end of file +add_subdirectory(agg)