Skip to content

Commit

Permalink
Do not include internal spdlog if it is already provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Feb 21, 2024
1 parent 09c1eb7 commit 684fecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cesium3DTilesContent/src/B3dmToGltfConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ rapidjson::Document parseFeatureTableJsonData(
result.errors.emplaceError(fmt::format(
"Error when parsing feature table JSON, error code {} at byte offset "
"{}",
document.GetParseError(),
(int)document.GetParseError(),
document.GetErrorOffset()));
return document;
}
Expand Down
8 changes: 5 additions & 3 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ target_include_directories(

add_subdirectory(asyncplusplus)

set(SPDLOG_BUILD_TESTING OFF CACHE INTERNAL "Disable SPDLOG Testing")
add_subdirectory(spdlog)
target_compile_definitions(spdlog PUBLIC _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
if (NOT TARGET spdlog::spdlog)
set(SPDLOG_BUILD_TESTING OFF CACHE INTERNAL "Disable SPDLOG Testing")
add_subdirectory(spdlog)
target_compile_definitions(spdlog PUBLIC _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
endif()

if (NOT TARGET sqlite3)
add_subdirectory(sqlite3)
Expand Down

0 comments on commit 684fecc

Please sign in to comment.