summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c017fe1..c68c53f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,6 +125,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/redfish-core/include)
set(SRC_FILES
+ redfish-core/src/privileges.cpp
${GENERATED_SRC_FILES}
)
@@ -135,6 +136,7 @@ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/generated)
# Unit Tests
if(${BMCWEB_BUILD_UT})
set(UT_FILES
+ redfish-core/ut/privileges_test.cpp
src/crow_test.cpp
src/gtest_main.cpp
src/token_authorization_middleware_test.cpp
@@ -175,6 +177,8 @@ if(${BMCWEB_BUILD_UT})
endif(${BMCWEB_BUILD_UT})
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/static/ DESTINATION share/www)
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/redfish-core/privilege_registry.json
+ DESTINATION /etc/redfish.conf.d/)
# bmcweb
add_executable(bmcweb ${WEBSERVER_MAIN} ${HDR_FILES} ${SRC_FILES})
OpenPOWER on IntegriCloud