Skip to content

Commit 2892490

Browse files
committed
Remove redundant nlohmann_json alias
Fixes CMake error: CMake Error at CMakeLists.txt:31 (add_library): add_library cannot create ALIAS target "nlohmann_json::nlohmann_json" because another target with the same name already exists.
1 parent 511d51d commit 2892490

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ if(NOT nlohmann_json_FOUND)
2727
)
2828

2929
FetchContent_MakeAvailable(nlohmann_json)
30-
31-
add_library(nlohmann_json::nlohmann_json ALIAS nlohmann_json)
3230
endif()
3331

3432
add_subdirectory(lib)

0 commit comments

Comments
 (0)