renamed MAPNIK_USE_PROJ4 to MAPNIK_USE_PROJ and removed ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
This commit is contained in:
parent
59b97a57fc
commit
31c0b08548
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ if(USE_PROJ)
|
||||||
#https://proj.org/development/cmake.html
|
#https://proj.org/development/cmake.html
|
||||||
message(STATUS "Using PROJ")
|
message(STATUS "Using PROJ")
|
||||||
mapnik_find_package(PROJ4 REQUIRED)
|
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 ${PROJ4_LIBRARIES})
|
||||||
list(APPEND MAPNIK_OPTIONAL_LIBS_INCLUDE ${PROJ4_INCLUDE_DIRS})
|
list(APPEND MAPNIK_OPTIONAL_LIBS_INCLUDE ${PROJ4_INCLUDE_DIRS})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue