mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
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:
committed by
sledgehammer999
parent
33390bf463
commit
0e6627b0f6
@@ -75,6 +75,6 @@ if (Qt5Widgets_FOUND)
|
||||
add_subdirectory(gui)
|
||||
endif ()
|
||||
|
||||
if (WEBUI)
|
||||
if (NOT DISABLE_WEBUI)
|
||||
add_subdirectory(webui)
|
||||
endif (WEBUI)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user