Nyall Dawson
b8523282dc
Bump minimum proj version to 7.2
2022-08-30 15:45:41 +10:00
Matthias Kuhn
1d1d59d7fb
Cleanup proj version detection ( #46134 )
...
Make sure the proj version detection logic is made available to reverse dependencies too.
In short, move it from an obscure define in a custom cmake find file to a generated header.
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2021-11-20 16:09:58 +07:00
Juergen E. Fischer
65a3cb6d90
fix 79572de47614
2021-03-27 19:31:16 +01:00
Bas Couwenberg
fc1ac8bef8
Add support for PROJ 8.0.0 in FindProj.cmake.
...
proj_api.h is no longer available in PROJ 8.0.0, use proj.h instead.
Fixes : #41735
2021-02-24 04:51:07 +10:00
Juergen E. Fischer
79572de476
fix windows nightly (make sure that the header PROJ_VERSION_MAJOR was detected from (nightly build) is actually used)
2021-01-15 10:23:09 +01:00
Juergen E. Fischer
342e6db828
Fix FindProj.cmake (followup 38e57db0ed387e32)
2020-02-21 08:37:08 +01:00
Nyall Dawson
38e57db0ed
Hard block compilation on proj 6.3.0
...
Require 6.3.1 for critical fixes
2020-02-21 02:42:12 +10: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
Juergen E. Fischer
06b24d164a
update INSTALL.html
2019-08-04 10:35:37 +02:00
Māris Nartišs
7e0181bcb7
Build: Bump minimum Proj version to 4.9.3 ( Fixes #30675 )
2019-08-04 09:01:39 +10:00
Nyall Dawson
f8655dc8a4
Don't allow building QGIS on proj 6.0 versions
...
Require at least 6.1.0. We need proj_normalize_for_visualization,
and the workarounds for building without it are too extensive,
too fragile, and result in too much spaghetti code.
Gotta make the hard call here ;)
2019-06-03 16:46:54 +10:00
Juergen E. Fischer
3630fdc4a1
fix cmake warning
2019-03-19 14:47:25 +01:00
Nyall Dawson
ad7e8eac74
More flexible proj version handling
...
Sponsored by ICSM
2019-03-19 11:47:01 +10:00
Denis Rouzaud
a34c44361d
fix PROJ_HAS_VERSION and also display version in cmake output ( #6878 )
2018-04-27 09:16:53 -04:00
Juergen E. Fischer
39cb0fbfd0
proj5: show proj version qgis was built with and the version it's running with
2018-02-19 22:12:09 +01:00
Juergen E. Fischer
6a56cb0dd0
updates and fixes for windows qt5/py3 build
2017-01-24 01:25:59 +01:00
Juergen E. Fischer
3b3f6748f1
remove CMAKE_BUILD_TYPE dependency on windows
2012-08-06 10:12:38 +02:00
Juergen E. Fischer
9e57e20f61
move grassprovider to grass library (might fix #3999 )
2012-04-02 22:23:28 +02: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
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
telwertowski
cd2c6b0f32
Search CMake default standard locations rather than explicitly encoding standard locations into files. On a Mac, the standard locations may also include framework paths and the frameworks need to be searched either first or last depending upon other CMake settings.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8404 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-07 04:57:13 +00:00
timlinux
9b5f9c3672
Added the possibility to use these libs from non default locations by specifying them in LIB_DIR. Before this change, the presence of the lib in /usr or /usr/local would override command line specified paths
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8203 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-10 16:08:43 +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
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
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