Skip to content

Commit

Permalink
Add proper magic_enum deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Nov 18, 2023
1 parent c37d6b5 commit e88222e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(gRPC CONFIG REQUIRED)
find_package(Protobuf CONFIG REQUIRED)
find_package(Threads REQUIRED)
find_package(magic_enum CONFIG REQUIRED)

# Enable POSITION_INDEPENDENT_CODE variable to control passing PIE flags to the linker.
if (POLICY CMP0083)
Expand Down
1 change: 1 addition & 0 deletions linux/wpa-controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ target_include_directories(wpa-controller
target_link_libraries(wpa-controller
PUBLIC
libwpa-client
magic_enum::magic_enum
)

list(APPEND WPA_CONTROLLER_PUBLIC_HEADERS
Expand Down
1 change: 1 addition & 0 deletions tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ target_link_libraries(netremote-test-unit
PRIVATE
Catch2::Catch2WithMain
gRPC::grpc++
magic_enum::magic_enum
netremote-service
)

Expand Down
1 change: 1 addition & 0 deletions tests/unit/linux/wpa-controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target_sources(wpa-controller-test-unit
target_link_libraries(wpa-controller-test-unit
PRIVATE
Catch2::Catch2WithMain
magic_enum::magic_enum
wpa-controller
)

Expand Down

0 comments on commit e88222e

Please sign in to comment.