Skip to content
Snippets Groups Projects
Commit 893474fa authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

ENH: define righ include dir in HDF4 test

parent 1a3c962a
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ IF(OTB_USE_EXTERNAL_GDAL)
#${OTB_DATA_ROOT}/Input/MOD09Q1G_EVI.A2006233.h07v03.005.2008338190308.hdf -> Test KO
#${OTB_DATA_ROOT}/Input/GSSTF_NCEP.2b.2008.12.31.he5 -> Test OK
IF(OTB_DATA_ROOT)
SET(CMAKE_REQUIRED_INCLUDES ${GEOTIFF_INCLUDE_DIRS})
SET(CMAKE_REQUIRED_INCLUDES ${GDAL_INCLUDE_DIR})
SET(CMAKE_REQUIRED_LIBRARIES "${GDAL_LIBRARY}")
CHECK_CXX_SOURCE_RUNS_ARGS(
${CMAKE_CURRENT_SOURCE_DIR}/CMake/TestHDF4Open.cxx
......
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