cmake: Add an option for enabling rook client in dashboard

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Willem Jan Withagen 2021-04-14 18:36:51 +02:00
parent 6710f28746
commit 1003f1ffee

View File

@ -652,9 +652,8 @@ endif()
set(DASHBOARD_FRONTEND_LANGS "" CACHE STRING
"List of comma separated ceph-dashboard frontend languages to build. \
Use value `ALL` to build all languages")
# TODO: make this an option and set it to the same value as WITH_MGR_DASHBOARD_FRONTEND
set(WITH_MGR_ROOK_CLIENT WITH_MGR_DASHBOARD_FRONTEND)
CMAKE_DEPENDENT_OPTION(WITH_MGR_ROOK_CLIENT "Enable Rook support in the dashboard" ON
"WITH_MGR_DASHBOARD_FRONTEND" OFF)
include_directories(SYSTEM ${PROJECT_BINARY_DIR}/include)