Commit d2e1cd3a authored by Julien Malik's avatar Julien Malik

COMP: mark_as_advanced a number of unimportant variables

parent 94589c75
......@@ -121,6 +121,7 @@ macro(otb_create_application)
list(REMOVE_DUPLICATES OTB_APPLICATIONS_NAME_LIST)
set(OTB_APPLICATIONS_NAME_LIST ${OTB_APPLICATIONS_NAME_LIST}
CACHE STRING "List of all applications" FORCE)
mark_as_advanced(OTB_APPLICATIONS_NAME_LIST)
endmacro()
......
......@@ -4,5 +4,6 @@ set(OTBGDAL_SYSTEM_INCLUDE_DIRS ${GDAL_INCLUDE_DIRS})
set(OTBGDAL_LIBRARIES "${GDAL_LIBRARIES}")
set(GDAL_CONFIG_CHECKING ON CACHE BOOL "Tests to check gdal config." FORCE)
mark_as_advanced(GDAL_CONFIG_CHECKING)
otb_module_impl()
......@@ -2,7 +2,7 @@ find_package ( GDAL REQUIRED )
mark_as_advanced(GDAL_INCLUDE_DIR)
mark_as_advanced(GDAL_LIBRARY)
mark_as_advanced(GDAL_CONFIG)
if(NOT GDAL_FOUND)
message(FATAL_ERROR "Cannot find GDAL. Set GDAL_INCLUDE_DIR and GDAL_LIBRARY")
......
......@@ -80,7 +80,8 @@ set(OTBITK_ITK_REQUIRED_MODULE_LIST
ITKVoronoi
ITKWatersheds)
find_package ( ITK COMPONENTS ${OTBITK_ITK_REQUIRED_MODULE_LIST})
find_package(ITK COMPONENTS ${OTBITK_ITK_REQUIRED_MODULE_LIST})
mark_as_advanced(ITK_DIR)
# set ( ITK_NO_IO_FACTORY_REGISTER_MANAGER TRUE )
# include (${ITK_USE_FILE})
......
find_package ( OpenCV REQUIRED )
mark_as_advanced( OpenCV_DIR )
find_package(OpenJPEG)
find_package( OpenJPEG REQUIRED )
mark_as_advanced( OpenJPEG_DIR )
......@@ -34,4 +34,5 @@ if ( OTB_WRAP_JAVA )
check_PIC_flag ( Java )
find_package ( Java REQUIRED )
find_package ( JNI REQUIRED )
endif()
\ No newline at end of file
mark_as_advanced( JAVA_HOME )
endif()
......@@ -94,7 +94,10 @@ foreach( var ${OTB_DOXYGEN_OUTPUT} )
endforeach()
set(OTB_DOXYGEN_ITK_TAGFILE "" CACHE FILEPATH "Tagfile containing ITK doxygen")
mark_as_advanced(OTB_DOXYGEN_ITK_TAGFILE)
set(OTB_DOXYGEN_ITK_DOXYGEN_URL "" CACHE STRING "URL to ITK doxygen")
mark_as_advanced(OTB_DOXYGEN_ITK_DOXYGEN_URL)
if(("${OTB_DOXYGEN_ITK_TAGFILE}" STREQUAL "") OR ("${OTB_DOXYGEN_ITK_DOXYGEN_URL}" STREQUAL ""))
set(OTB_DOXYGEN_TAGFILE_FIELD "")
......
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