diff options
author | Adam Thompson <tngamer@gmail.com> | 2018-02-28 02:08:20 (GMT) |
---|---|---|
committer | Adam Thompson <tngamer@gmail.com> | 2018-03-07 14:29:57 (GMT) |
commit | 694fce19b64cd5a399921d823ef2db9a07d4018a (patch) | |
tree | 6e0eae6ae4553a11c1b6d89644715fb1556f4474 /Tests/CTestTestStopTime/CMakeLists.txt | |
parent | 4da456c7fee39e366aa707871fad84fbbd0a723e (diff) | |
download | CMake-694fce19b64cd5a399921d823ef2db9a07d4018a.zip CMake-694fce19b64cd5a399921d823ef2db9a07d4018a.tar.gz CMake-694fce19b64cd5a399921d823ef2db9a07d4018a.tar.bz2 |
FindGDAL: Handle gdal-config printing absolute path to library
FindGDAL uses GDAL's 'gdal-config' utility to obtain the path to GDAL's library
(on systems identified by CMake's UNIX variable). Older versions formatted this
information like that of dependent libraries:
-L/path/to/gdal/lib -lgdal[suffix]
Newer versions instead provide the full path to the library:
/path/to/gdal/lib/[prefix]gdal[suffix]
FindGDAL now supports both formats. Entries that don't start with '-L' or '-l'
are only considered if they are absolute paths that exist on disk.
Furthermore, libraries are only considered if the name contains 'gdal'
(checked case-insensitively).
Diffstat (limited to 'Tests/CTestTestStopTime/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions