MantisBT - CMake
View Issue Details
0014373CMakeModulespublic2013-08-26 05:202016-06-10 14:31
Pierrick Koch 
Eric Wing 
normalminoralways
closedmoved 
UNIXUbuntu12.04.3 x86_64
CMake 2.8.7 
 
0014373: [CMake/Modules/FindGDAL] Use `gdal-config --cflags` to get GDAL_INCLUDE_DIR
The following patch parses the `gdal-config --cflags` command to get GDAL_INCLUDE_DIR, the same way it is used to get GDAL_LIBRARY.
No tags attached.
patch FindGDAL.cmake.patch (1,633) 2013-08-26 05:20
https://public.kitware.com/Bug/file/4857/FindGDAL.cmake.patch
Issue History
2013-08-26 05:20Pierrick KochNew Issue
2013-08-26 05:20Pierrick KochFile Added: FindGDAL.cmake.patch
2013-08-26 07:03Rolf Eike BeerAssigned To => Eric Wing
2013-08-26 07:03Rolf Eike BeerStatusnew => assigned
2013-08-26 12:49Brad KingNote Added: 0033747
2016-06-10 14:29Kitware RobotNote Added: 0042354
2016-06-10 14:29Kitware RobotStatusassigned => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0033747)
Brad King   
2013-08-26 12:49   
From the patch:

+ exec_program(${GDAL_CONFIG} ARGS --cflags OUTPUT_VARIABLE GDAL_CONFIG_CFLAGS)

Please use the modern execute_process command instead of the old exec_program command.

Also, of course we cannot upstream the changes related to making it a custom module.
(0042354)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.