From 0afe2e3f5b98eca1f54c7155631cb23a95c6c186 Mon Sep 17 00:00:00 2001 From: Lars Glud Date: Tue, 6 Feb 2024 00:00:12 +0100 Subject: [PATCH] Check if QTX is empty, ie. WITH_QT = NO. --- apps/cloud_composer/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/cloud_composer/CMakeLists.txt b/apps/cloud_composer/CMakeLists.txt index 24196bcc274..8cfe2d4e383 100644 --- a/apps/cloud_composer/CMakeLists.txt +++ b/apps/cloud_composer/CMakeLists.txt @@ -8,6 +8,12 @@ set(SUBSUBSYS_DESC "Cloud Composer - Application for Manipulating Point Clouds") set(SUBSUBSYS_DEPS common io visualization filters apps) set(SUBSUBSYS_EXT_DEPS vtk ${QTX}) +# Have Qt? +if("${QTX}" STREQUAL "") + set(DEFAULT AUTO_OFF) + set(REASON "Cloud composer requires Qt.") +endif() + # QVTK? if(NOT HAVE_QVTK) set(DEFAULT AUTO_OFF)