Skip to content

Commit

Permalink
Use the namespaced target for magic_enum (#17879)
Browse files Browse the repository at this point in the history
### Ticket
#15795

### Problem description
We always should use the namespaced target, and we MUST use the
namespaced target when using an externally provided dependency.

### What's changed
magic_enum -> magic_enum::magic_enum
  • Loading branch information
afuller-TT authored Feb 13, 2025
1 parent ac426de commit 941b34c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ target_link_libraries(
pthread
gmock_main
nlohmann_json::nlohmann_json
magic_enum
magic_enum::magic_enum
fmt::fmt-header-only
span
small_vector
Expand Down
2 changes: 1 addition & 1 deletion tt-train/sources/ttml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ target_link_libraries(
Metalium::TTNN
Python::Python
fmt::fmt-header-only
magic_enum
magic_enum::magic_enum
yaml-cpp::yaml-cpp
xtensor
xtensor-blas
Expand Down
2 changes: 1 addition & 1 deletion tt_fabric/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ target_link_libraries(
Metalium::Metal::LLRT
umd::device
metal_common_libs
magic_enum
magic_enum::magic_enum
fmt::fmt-header-only
yaml-cpp::yaml-cpp
)
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ target_link_libraries(
tt_metal
PUBLIC
umd::device
magic_enum
magic_enum::magic_enum
fmt::fmt-header-only
span
small_vector
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ target_link_libraries(
common
PUBLIC
nlohmann_json::nlohmann_json
magic_enum
magic_enum::magic_enum
fmt::fmt-header-only
span
small_vector
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/llrt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ target_link_libraries(
nlohmann_json::nlohmann_json
Reflect::Reflect
yaml-cpp::yaml-cpp
magic_enum
magic_enum::magic_enum
span
common
)
Expand Down

0 comments on commit 941b34c

Please sign in to comment.