diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk index 0c2178b7fea1..af2450d9d14d 100644 --- a/sc/Module_sc.mk +++ b/sc/Module_sc.mk @@ -270,7 +270,6 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\ UITest_csv_dialog \ UITest_external_links \ UITest_statistics \ - UITest_solver \ UITest_goalSeek \ UITest_protect \ UITest_sc_options \ @@ -292,6 +291,12 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\ UITest_function_wizard \ UITest_manual_tests \ )) + +ifneq ($(or $(ENABLE_LPSOLVE),$(ENABLE_COINMP)),) +$(eval $(call gb_Module_add_uicheck_targets,sc,\ + UITest_solver \ +)) +endif endif # vim: set noet sw=4 ts=4: