Commit a4b3f5ce authored by Rashad Kanavath's avatar Rashad Kanavath

COMP: show QT and OpenCV in summary only if they are enabled

parent c25b9af1
...@@ -417,9 +417,13 @@ list(APPEND option_list TINYXML) ...@@ -417,9 +417,13 @@ list(APPEND option_list TINYXML)
#RK #RK
#Q: Why these two guys here? we already have option_list #Q: Why these two guys here? we already have option_list
#A: Because cmake case sensitivity with variables. #A: Because cmake case sensitivity with variables.
list(APPEND option_list OpenCV) if(OTB_USE_OPENCV)
list(APPEND option_list QT) list(APPEND option_list OpenCV)
endif()
if(OTB_USE_QT4)
list(APPEND option_list QT)
endif()
#sort again! #sort again!
list(SORT option_list) list(SORT option_list)
......
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