Commit f2c2fc64 authored by Cédric Traizet's avatar Cédric Traizet

ENH: remove env for dataroot hint

parent f8b96a71
Pipeline #1767 passed with stages
in 76 minutes and 39 seconds
......@@ -117,7 +117,7 @@ find_package ( PythonLibs )
# Configure the default OTB_DATA_ROOT for the location of OTB Data.
find_path(OTB_DATA_ROOT
NAMES README-OTB-Data
HINTS ${OTB_SOURCE_DIR}/Data $ENV{OTB_DATA_ROOT}
HINTS ${OTB_SOURCE_DIR}/Data
)
#mark_as_advanced(OTB_DATA_ROOT)
......
......@@ -345,7 +345,7 @@ option(OTB_USE_SPTW "Enable Simple Parallel Tiff Writer in OTB" OFF)
# set OTB_DATA_ROOT to run test
find_path(OTB_DATA_ROOT
NAMES README-OTB-Data
HINTS ${SuperBuild_SOURCE_DIR}/../Data $ENV{OTB_DATA_ROOT}
HINTS ${OTB-SuperBuild_SOURCE_DIR}/../Data
)
# SWIG Wrapping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment