diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt
index 35d30a5c83c37c1f5ea066636da0d0822dc8278f..19234b73adac3e617b6c5a053179fa70ee1ae632 100644
--- a/SuperBuild/CMakeLists.txt
+++ b/SuperBuild/CMakeLists.txt
@@ -34,6 +34,10 @@ set(CMAKE_MODULE_PATH
     ${CMAKE_MODULE_PATH}
     )
 
+if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+  message(WARNING "The support of debug build in SuperBuild is incomplete, some dependencies such as NetCDF don't support it.")
+endif()
+
 include(ExternalProject)
 
 # Not needed as OTB Superbuild requires c++14 since version 6.2