Nyall Dawson
af69dc7c0b
Require GDAL 3.0+
...
Drop compatibility with GDAL v2
2021-02-23 12:47:04 +10:00
Peter Petrik
62bcc92339
MacOS CI ( #35407 )
...
[infrastructure] [macos] use QGIS-Mac-Packager dependencies to setup MacOS CI build with GitHub workflows. Use CMake's define QGIS_MAC_DEPS_DIR to define folder to dependencies
2020-04-05 10:51:00 +02:00
Even Rouault
3fbeb4ba02
FindGDAL/FindProj.cmake: for GDAL 3, requires 3.0.3 or higher. For PROJ 6, requires 6.3.0 or higher
2020-01-27 16:24:52 +10:00
Denis Rouzaud
088e94f909
[cmake] fix deprecated OLD policy for CMP0053
...
https://cmake.org/cmake/help/v3.1/policy/CMP0053.html
2018-06-08 08:06:26 +10:00
Landry Breuil
26f8f165c4
Use FIND_LIBRARY to find GDAL, GEOS and Postgres libraries
...
On OpenBSD, there's no libgdal.so symlink, only a versioned library (ie
libgdal.so.X.Y where X.Y changes over time so is never constant)
Using cmake's FIND_LIBRARY allows to let cmake find the library.
Without this, the build would fail on OpenBSD:
ninja: error: '/usr/local/lib/libgdal.so', needed by 'output/lib/libqgis_core.so.18.0', missing and no known rule to make it
2018-01-25 09:30:38 +01:00
Alessandro Pasotti
83b11d5484
Minor update in the comment
2017-08-22 17:28:38 +02:00
Alessandro Pasotti
35e49ed90a
Bump required GDAL version from 2.0 to 2.1
...
Because we need GDALTranslate()
2017-08-22 17:25:50 +02:00
Nyall Dawson
b0bc763475
Bump minimum GDAL version to 2.0, remove old version #ifdefs
2017-01-03 15:10:28 +10:00
Even Rouault
7703ad88ac
cmake/FindGDAL.cmake: emit warning if GDAL < 1.11
2016-04-27 14:35:37 +02:00
Larry Shaffer
a4aaff5d53
Fix CMake policy warnings/changes introduced in 3.0.0 and higher
2014-12-22 17:06:13 -07:00
Juergen E. Fischer
82a36f9cbe
adjustments to build on cygwin
2013-04-06 18:30:28 +02:00
Juergen E. Fischer
edaadddb2a
fix cmake warning and report GDAL version
2012-05-13 00:24:26 +02:00
Juergen E. Fischer
44248cb050
fix GDAL version check
2012-05-11 12:29:32 +02:00
William Kyngesburye
a917265c4e
add missing version numbers to Mac framework detection
2011-05-28 21:49:38 -05:00
kyngchaos
0aa434a32c
Fix empty _LIBRARY left from framework check when fw not found
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14984 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-30 23:45:23 +00:00
kyngchaos
a077527876
fix detection logic, remove unused setting
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14460 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-30 22:54:08 +00:00
kyngchaos
be17b00e09
Mac cmake update:
...
cleaner framework detection;
optional bundle Qt/PyQt and libraries, and fixup paths
git-svn-id: http://svn.osgeo.org/qgis/trunk@14458 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-30 19:37:00 +00:00
jef
1fdd283b6d
update install/build documentation & cmake updates:
...
- split install document into multiple files
- reorder chapters
- update msvc part (shortend add reference to OSGeo4W dependencies)
- update CMake files to look in $ENV{LIB} and $ENV{INCLUDE}
git-svn-id: http://svn.osgeo.org/qgis/trunk@14440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-27 23:58:43 +00:00
kyngchaos
bb0bcd2bde
find more Mac frameworks; extra default search paths for postgres
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14385 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-16 14:52:43 +00:00
wonder
3925a0892d
Added copyright notices to CMake modules, BSD license has been set to the modules (typical license for CMake modules).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13756 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-20 17:09:21 +00:00
timlinux
975d2d4e11
Tweaks to make cmake find the sqlite3, pq, gdal and geos dependencies when using LIB_DIR and osgeo4w dependencies
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-17 11:42:50 +00:00
timlinux
f10517fdfd
Patch from strk to specify minimum gdal of 1.4
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9672 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-19 20:10:33 +00:00
timlinux
852421f349
Patch from Mateusz Loskot to allow easily using FWTools install of gdal
...
Ticket #821 : cmake-findgdal-fwtools.patch
git-svn-id: http://svn.osgeo.org/qgis/trunk@7636 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-21 19:06:39 +00:00
timlinux
dcd52f1281
For msvc cmake rules make all the include, app and lib paths relative to the environment dir %LIB_DIR% so that the libs can be anywhere on your filesystem.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-11 18:06:07 +00:00
timlinux
b720ac5330
Added clauses to find dependencies under MSVC. I will be making a zip file with file with all deps for streamlining the dev environment setup process
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-01 00:13:34 +00:00
timlinux
2a2c645c24
Added some extremely clever logic so gdal headers on Gutsy Gibbon are located properly
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-28 03:52:38 +00:00
homann
297fe1db7d
Fix GDAL discover on non-Apple
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6692 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-24 15:07:53 +00:00
timlinux
c9746a4a78
For mac use dylib instead of .so for default libgdal and libpq extensions
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6644 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-20 23:23:21 +00:00
homann
9488c74b1e
Fix CMake search for libraries
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6522 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-04 15:14:51 +00:00
wonder
880a93a220
CMake:
...
- search for GDAL and GSL also in /usr/local
- added mac-specific locations for GDAL and GRASS
git-svn-id: http://svn.osgeo.org/qgis/trunk@6515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-04 12:11:30 +00:00
wonder
c7d894cfa2
Added convenience paths for dependency search on windows (expecting c:/msys)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6453 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-23 23:22:19 +00:00
wonder
46a2d125a2
Merged refactoring branch back to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00