Skip to content

Commit

Permalink
build(deps): update PFL.cmake
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <me@black-desk.cn>
  • Loading branch information
black-desk committed Oct 11, 2023
1 parent a29ba46 commit ede2f42
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 362 deletions.
10 changes: 3 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ set(CMAKE_CXX_FLAGS_DEBUG "-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_TRACE")
include(./cmake/PFL.cmake)

set(OCPPI_LIBS common runtime cli)

set(PFL_ENABLE_TESTING ${OCPPI_ENABLE_TESTING})
set(PFL_BUILD_EXAMPLES ${OCPPI_BUILD_EXAMPLES})

foreach(LIB ${OCPPI_LIBS})
pfl_add_subdirectory(TARGET_PREFIX ocppi libs/${LIB})
endforeach()
pfl_init(ENABLE_TESTING ${OCPPI_ENABLE_TESTING} BUILD_EXAMPLES
${OCPPI_BUILD_EXAMPLES})
pfl_add_libraries(${OCPPI_LIBS})
Loading

0 comments on commit ede2f42

Please sign in to comment.