Commit 8782f910 authored by Carlos Ramos Carreño's avatar Carlos Ramos Carreño

Fix some configuration errors in GDAL and deps.

parent eca5de65
......@@ -37,6 +37,7 @@ configure-options =
-DGIF_INCLUDE_DIR=${giflib:location}/include
-DGIF_LIBRARY=${giflib:location}/lib/libgif.so
-DGDAL_USE_OPENJPEG=ON
-DGDAL_FIND_PACKAGE_OpenJPEG_MODE=CONFIG
-DOPENJPEG_INCLUDE_DIR=${openjpeg:location}/include
-DOPENJPEG_LIBRARY=${openjpeg:location}/lib/libopenjp2.so
-DGDAL_USE_JPEG=ON
......@@ -49,18 +50,19 @@ configure-options =
-DZLIB_INCLUDE_DIR=${zlib:location}/include
-DZLIB_LIBRARY_RELEASE=${zlib:location}/lib/libz.so
-DGDAL_USE_PNG=ON
-DPNG_INCLUDE_DIR=${libpng:location}/include
-DPNG_PNG_INCLUDE_DIR=${libpng:location}/include
-DPNG_LIBRARY_RELEASE=${libpng:location}/lib/libpng.so
-DPROJ_INCLUDE_DIR=${proj:location}/include
-DPROJ_LIBRARY_RELEASE=${proj:location}/lib/libproj.a
-DGDAL_USE_SQLITE3=ON
-DSQLite3_INCLUDE_DIR=${sqlite3:location}/include
-DSQLite3_LIBRARY=${sqlite3:location}/include/lib/libsqlite3.so
-DSQLite3_LIBRARY=${sqlite3:location}/lib/libsqlite3.so
-DGDAL_USE_LIBXML2=ON
-DLIBXML2_INCLUDE_DIR=${libxml2:location}/include
-DLIBXML2_LIBRARY=${libxml2:location}/lib/libxml2.so
-DGDAL_USE_WEBP=OFF
environment =
CMAKE_PREFIX_PATH=${openjpeg:location}
PATH=${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${pcre:location}/include
LDFLAGS=-L${pcre:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib -Wl,-rpath=${curl:location}/lib -Wl,-rpath=${geos:location}/lib -Wl,-rpath=${giflib:location}/lib -Wl,-rpath=${openjpeg:location}/lib -Wl,-rpath=${jbigkit:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libjpeg:location}/lib -Wl,-rpath=${libpng:location}/lib -Wl,-rpath=${libtiff:location}/lib -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib
......
......@@ -14,3 +14,4 @@ configure-command = ${cmake:location}/bin/cmake
configure-options =
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@
-DCMAKE_INSTALL_LIBDIR=lib
......@@ -23,3 +23,5 @@ configure-options =
-DCURL_LIBRARY=${curl:location}/lib/libcurl.so
-DTIFF_INCLUDE_DIR=${libtiff:location}/include
-DTIFF_LIBRARY_RELEASE=${libtiff:location}/lib/libtiff.so
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@
-DCMAKE_INSTALL_LIBDIR=lib
Markdown is supported
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