diff --git a/debian/rules b/debian/rules index 371fced51..6201bbb76 100755 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,7 @@ $(BUILD_FLAGS_FILE) verify-build-flags: $(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags") $(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest") $(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI") -ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES))) +ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),) $(call $(flag_action),BUILD_QtDialog,ON,"Build Qt GUI") endif # $(call $(flag_action),BUILD_DOCUMENTATION,ON)