From 9d781576f4e80a758ea09355b1ad6d32618a2975 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Fri, 5 Jan 2018 15:53:26 +0100 Subject: [PATCH] BUG: Mantis-1468: warning for debug build in SuperBuild --- SuperBuild/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index 35d30a5c83..19234b73ad 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 -- GitLab