diff options
author | Frank Bergkemper <frank.bergkemper@bareos.com> | 2022-09-02 17:07:31 +0300 |
---|---|---|
committer | Frank Bergkemper <frank.bergkemper@bareos.com> | 2022-09-12 12:57:22 +0300 |
commit | 93c8c51a62d9d4ca1658cf00eabad0441aa3a7ab (patch) | |
tree | acd73a101aaed61e1fa7fe851f5e2ba55bf66595 /CMakeLists.txt | |
parent | 4a1d4456b56b062ca8e66d88a86ecc0953ce2221 (diff) |
cmake: add build environment argument -DBUILD_WEBUI
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 79e79fc86..5f2690ef5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,8 @@ if(BUILD_UNIVERSAL_CLIENT) set(client-only ON) endif() +option(ENABLE_WEBUI "Build with WEBUI" ON) + if(docs-build-json) # check for wrong combinations of build flags if(docs-only) @@ -118,7 +120,9 @@ endif() if(BUILD_BAREOS_BINARIES) add_subdirectory(third-party EXCLUDE_FROM_ALL) add_subdirectory(core) - add_subdirectory(webui) + if(ENABLE_WEBUI) + add_subdirectory(webui) + endif() if(NOT client-only AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows") add_subdirectory(systemtests) endif() |