Skip to content

Commit

Permalink
Check if QTX is empty, ie. WITH_QT = NO.
Browse files Browse the repository at this point in the history
  • Loading branch information
larshg committed Feb 5, 2024
1 parent 21fe1e0 commit 0afe2e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/cloud_composer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0afe2e3

Please sign in to comment.