Commit 6ef74581 authored by Bas Couwenberg's avatar Bas Couwenberg Committed by Guillaume Pasero

BUG 1258: Only use OTB_GIT_STATUS_MESSAGE in message function if set

parent 4fed6c33
......@@ -397,7 +397,9 @@ endmacro()
message("\n======================= Begin of OTB cmake summary =======================\n")
message( ${OTB_GIT_STATUS_MESSAGE})
if(OTB_GIT_STATUS_MESSAGE)
message( ${OTB_GIT_STATUS_MESSAGE})
endif()
if(OTB_DATA_GIT_STATUS_MESSAGE)
message( ${OTB_DATA_GIT_STATUS_MESSAGE})
endif()
......
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