Commit 2c8f3307 authored by Antoine Regimbeau's avatar Antoine Regimbeau

DOC: warn user that qwt depends on qt in superbuild

parent abb6a615
......@@ -23,6 +23,12 @@ INCLUDE_ONCE_MACRO(QWT)
SETUP_SUPERBUILD(QWT)
# declare dependencies
if ( NOT OTB_USE_QT )
message( "As Qt is a dependency of Qwt, it will be activate in the "
"project that will behave as if OTB_USE_QT is set to ON.\n"
"To disable Qt and Qwt use OTB_USE_QWT=OFF and OTB_USE_QT=OFF.")
endif()
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(QWT QT5)
set(QWT_SB_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM})
......
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