Opened 9 years ago

Closed 9 years ago

#2346 closed defect (fixed)

check install prefix when search for libraries GEOS, GEOTIFF, TIFF

Reported by: rashadkm Owned by: potts@…
Priority: highest Milestone: OSSIM 2.0
Component: Algorithms/Functionality Version: ossim/OMAR 1.8.14-3
Severity: blocker Keywords:
Cc:

Description

currently Find*.cmake checks for /usr /usr/local

For example GEOS.cmake

But this works only for linux machines and for windows one has to provide -DGEOS_INCLUDE_DIR and -DGEOS_LIBRARY

but cmake could also check CMAKE_INSTALL_PREFIX so in windows OS also OSSIM cmake detects the proper libs and headers automatically during configure.

Another advantage is to use a custom version of these libraries even though one has it installed in /usr or /usr/local

see sample: http://trac.osgeo.org/ossim/browser/trunk/ossim_package_support/cmake/CMakeModules/FindGEOS.cmake

All these find cmake sources are in ossim_package_support

Change History (2)

comment:2 by rashadkm, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.