AppaRao Puli | c532f55 | 2019-07-05 15:23:50 +0530 | [diff] [blame] | 1 | cmake_minimum_required(VERSION 2.8.10 FATAL_ERROR) |
| 2 | set(CMAKE_CXX_STANDARD 17) |
| 3 | set(CMAKE_CXX_STANDARD_REQUIRED ON) |
| 4 | |
| 5 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libpfr/inc) |
AppaRao Puli | e63eeda | 2019-07-05 16:25:38 +0530 | [diff] [blame] | 6 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/service/inc) |
AppaRao Puli | c532f55 | 2019-07-05 15:23:50 +0530 | [diff] [blame] | 7 | |
| 8 | add_subdirectory(libpfr) |
AppaRao Puli | e63eeda | 2019-07-05 16:25:38 +0530 | [diff] [blame] | 9 | add_subdirectory(service) |
| 10 | |
AppaRao Puli | cc1ed68 | 2019-10-01 12:29:40 +0530 | [diff] [blame] | 11 | set(SERVICE_FILES ${PROJECT_SOURCE_DIR}/xyz.openbmc_project.PFR.Manager.service) |
AppaRao Puli | e63eeda | 2019-07-05 16:25:38 +0530 | [diff] [blame] | 12 | install(FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/) |