Skip to content

Commit

Permalink
chore: Add spdlog
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 27, 2023
1 parent cbe86e4 commit 3093268
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:

- name: vcpkg install
run: |
vcpkg install spdlog
vcpkg install cli11
vcpkg list
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ else ()
endif ()

# vcpkg
find_package(spdlog CONFIG REQUIRED)
find_package(CLI11 CONFIG REQUIRED)

# include and static link
Expand All @@ -61,4 +62,5 @@ foreach(item ${V_GLOB})
endforeach()

# link
target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog_header_only)
target_link_libraries(${PROJECT_NAME} PRIVATE CLI11::CLI11)

0 comments on commit 3093268

Please sign in to comment.