Skip to content
Snippets Groups Projects
Commit a0c85e40 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: on CentOS5.5 geotiff include are in /usr/include/libgeotiff

parent cd57e629
No related branches found
No related tags found
No related merge requests found
...@@ -349,7 +349,7 @@ IF(OTB_USE_EXTERNAL_GDAL) ...@@ -349,7 +349,7 @@ IF(OTB_USE_EXTERNAL_GDAL)
# Find geotiff headers # Find geotiff headers
FIND_PATH(GEOTIFF_INCLUDE_DIRS geotiff.h $ENV{GDAL_INCLUDE_DIR} ${GDAL_INCLUDE_DIR} /usr/include/geotiff) FIND_PATH(GEOTIFF_INCLUDE_DIRS geotiff.h $ENV{GDAL_INCLUDE_DIR} ${GDAL_INCLUDE_DIR} /usr/include/geotiff /usr/include/libgeotiff)
IF (NOT GEOTIFF_INCLUDE_DIRS) IF (NOT GEOTIFF_INCLUDE_DIRS)
MESSAGE(FATAL_ERROR MESSAGE(FATAL_ERROR
"Cannot find geotiff headers. Please set GEOTIFF_INCLUDE_DIRS.") "Cannot find geotiff headers. Please set GEOTIFF_INCLUDE_DIRS.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment