Commit db7aae8a authored by Cédric Traizet's avatar Cédric Traizet
Browse files

REFAC: enable tiff and curl in proj, and update to 7.1.0 (compilation error, see proj issue #2073)

parent 38ad19d7
......@@ -23,23 +23,25 @@ INCLUDE_ONCE_MACRO(PROJ)
SETUP_SUPERBUILD(PROJ)
# declare dependencies
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(PROJ SQLITE)
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(PROJ SQLITE TIFF CURL)
ExternalProject_Add(PROJ
DEPENDS ${PROJ_DEPENDENCIES}
PREFIX PROJ
URL "https://download.osgeo.org/proj/proj-7.0.0.tar.gz"
URL_MD5 5b546675935b930a6266449228c82635
URL "https://download.osgeo.org/proj/proj-7.1.0.tar.gz"
URL_MD5 1da6227c30b683d43f1c6d267224a262
BINARY_DIR ${PROJ_SB_SRC}
INSTALL_DIR ${SB_INSTALL_PREFIX}
DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
CMAKE_CACHE_ARGS
${SB_CMAKE_CACHE_ARGS}
-DBUILD_LIBPROJ_SHARED:BOOL=TRUE
-DBUILD_SHARED_LIBS:BOOL=TRUE
-DBUILD_FRAMEWORKS_AND_BUNDLE:BOOL=FALSE
-DPROJ_LIB_SUBDIR:STRING=lib
-DPROJ_INCLUDE_SUBDIR:STRING=include
-DBUILD_TESTING:BOOL=OFF
-DENABLE_TIFF:BOOL=ON
-DENABLE_CURL:BOOL=ON
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment