[QGIS-trac] Re: [Quantum GIS] #3376: CMake cannot find GDAL or GEOS

Quantum GIS qgis at qgis.org
Thu Dec 30 09:46:03 EST 2010


#3376: CMake cannot find GDAL or GEOS
------------------------------------------------+---------------------------
   Reporter:  sharpie                           |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Build/Install                     |            Version:  1.6.0        
   Keywords:  cmake osx                         |   Platform_version:               
   Platform:  OS X                              |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by kyngchaos):

 FIND_LIBRARY at that point is not right, since it completely ignores any
 geos-|gdal-config values.  I suspect that SET is not setting because in
 the framework test GEOS_|GDAL_LIBRARY will be left empty, not unset, when
 it fails.  SET here then doesn't set it (it sets a variable only if it's
 unset, and maybe empty is not the same as unset), though FIND_LIBRARY
 will.

 Try adding the FORCE keyword after INTERNAL in the SET().

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3376#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list