CMake: Fix WebUI checks

When the CMake system was last revamped, the configure variable was
changed from WEBUI to DISABLE_WEBUI, but we are still checking
against WEBUI. This behavior was changed in fa770871e9
This commit is contained in:
NotTsunami
2020-01-18 09:41:56 -05:00
committed by sledgehammer999
parent 33390bf463
commit 0e6627b0f6
2 changed files with 5 additions and 5 deletions

View File

@@ -75,6 +75,6 @@ if (Qt5Widgets_FOUND)
add_subdirectory(gui)
endif ()
if (WEBUI)
if (NOT DISABLE_WEBUI)
add_subdirectory(webui)
endif (WEBUI)
endif()