Opened 10 years ago
Closed 10 years ago
#2346 closed defect (fixed)
check install prefix when search for libraries GEOS, GEOTIFF, TIFF
Reported by: | rashadkm | Owned by: | |
---|---|---|---|
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:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
changeset
http://trac.osgeo.org/ossim/changeset/23086/