From 2afc740447983c4304b3851603e1325515b5ee23 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 7 Jul 2012 18:42:29 +0200 Subject: [PATCH] TESTS: disable wrappers/Qt tests when OTB_USE_VISU_GUI is OFF. usually it's because we don't have a display available --- Testing/Code/Wrappers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/Code/Wrappers/CMakeLists.txt b/Testing/Code/Wrappers/CMakeLists.txt index fc6dd63afe..8eb78cc1af 100644 --- a/Testing/Code/Wrappers/CMakeLists.txt +++ b/Testing/Code/Wrappers/CMakeLists.txt @@ -10,7 +10,7 @@ if ( OTB_WRAP_JAVA ) add_subdirectory(Java) endif () -if ( OTB_WRAP_QT ) +if ( OTB_WRAP_QT AND OTB_USE_VISU_GUI ) add_subdirectory(Qt) endif () -- GitLab