18 Commits

Author SHA1 Message Date
Juergen E. Fischer
1deb1daf03 fix reporting of postgres version 2025-02-20 12:04:14 +01:00
Nyall Dawson
6785fe4554 [cmake] Use execute_process instead of deprecated EXEC_COMMAND
See CMP0153
2024-04-21 12:52:02 +10:00
MorriganR
6c689b02a3 fix PostgreSQL Client Version in About window 2023-06-23 09:24:39 +10:00
Matthias Kuhn
dae83c51d0 Use cmake provided FindPostgreSQL scripts where possible 2021-10-23 05:22:02 +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
Juergen E. Fischer
82a36f9cbe adjustments to build on cygwin 2013-04-06 18:30:28 +02:00
Marco Bernasocchi
76244bc59c If on android force POSTGRES_INCLUDE_DIR and POSTGRES_LIBRARY, needs to be bette but works 2011-08-26 18:46:39 +02: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
jef
44b7fd348a fix more line endings
git-svn-id: http://svn.osgeo.org/qgis/trunk@11650 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-13 10:49:37 +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
jef
93fc3c9eb6 fix postgres <8.3 support
git-svn-id: http://svn.osgeo.org/qgis/trunk@9943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-08 00:05:23 +00:00
timlinux
322558c99f Find postgresql libs when they are in the qgislibs archive and LIB_DIR os set (MSVC)
git-svn-id: http://svn.osgeo.org/qgis/trunk@7633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-21 18:18:45 +00:00
homann
0052294025 Fixed another ELSIF error
git-svn-id: http://svn.osgeo.org/qgis/trunk@6696 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-25 14:16:15 +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
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