renamed MAPNIK_USE_PROJ4 to MAPNIK_USE_PROJ and removed ACCEPT_USE_OF_DEPRECATED_PROJ_API_H

This commit is contained in:
Mathis Logemann 2021-03-24 23:55:12 +01:00
parent 59b97a57fc
commit 31c0b08548

View file

@ -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()