add proj required define
This commit is contained in:
parent
8de67bc262
commit
9a132080b5
4 changed files with 4 additions and 4 deletions
|
@ -159,7 +159,7 @@ endif()
|
||||||
if(USE_PROJ4)
|
if(USE_PROJ4)
|
||||||
message(STATUS "Using PROJ4")
|
message(STATUS "Using PROJ4")
|
||||||
find_package(PROJ4 CONFIG REQUIRED)
|
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)
|
list(APPEND MAPNIK_OPTIONAL_LIBS proj)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue