Skip to content

Commit b941c07

Browse files
Copilotjwinarske
andcommitted
Add spdlog::spdlog alias to fix target linking errors
Co-authored-by: jwinarske <12262875+jwinarske@users.noreply.github.com>
1 parent 11877f0 commit b941c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ set(SPDLOG_NO_THREAD_ID ON)
2020
set(SPDLOG_BUILD_PIC ON)
2121
set(SPDLOG_SANITIZE_ADDRESS ${SANITIZE_ADDRESS})
2222
add_library(spdlog INTERFACE)
23+
add_library(spdlog::spdlog ALIAS spdlog)
2324
target_compile_options(spdlog INTERFACE -isystem${CMAKE_CURRENT_SOURCE_DIR}/spdlog/include)
2425

2526
#

0 commit comments

Comments
 (0)