diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a2b82559..72e308dba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,7 +203,7 @@ if(USE_PROJ) #https://proj.org/development/cmake.html message(STATUS "Using PROJ") mapnik_find_package(PROJ4 REQUIRED) - list(APPEND MAPNIK_COMPILE_DEFS MAPNIK_USE_PROJ4 ACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1) + list(APPEND MAPNIK_COMPILE_DEFS MAPNIK_USE_PROJ) list(APPEND MAPNIK_OPTIONAL_LIBS ${PROJ4_LIBRARIES}) list(APPEND MAPNIK_OPTIONAL_LIBS_INCLUDE ${PROJ4_INCLUDE_DIRS}) endif()