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)
|
||||
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()
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/MapnikTargets.cmake")
|
||||
|
||||
check_required_components(mapnik)
|
||||
check_required_components(mapnik)
|
||||
|
|
|
@ -8,4 +8,4 @@ endif()
|
|||
if(BUILD_DEMO_CPP)
|
||||
message(STATUS "Building c++ demo app")
|
||||
add_subdirectory(c++)
|
||||
endif()
|
||||
endif()
|
||||
|
|
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
|
@ -1,2 +1,2 @@
|
|||
cmake_minimum_required(VERSION 3.15.0)
|
||||
add_subdirectory(agg)
|
||||
add_subdirectory(agg)
|
||||
|
|
Loading…
Reference in a new issue