mirror of
https://github.com/ModOrganizer2/cmake_common.git
synced 2026-07-27 14:06:46 -07:00
Add compile definition to make spdlog use std::format.
This commit is contained in:
@@ -275,6 +275,7 @@ function(mo2_find_spdlog)
|
||||
mo2_required_variable(NAME SPDLOG_ROOT TYPE PATH)
|
||||
|
||||
add_library(mo2-spdlog INTERFACE)
|
||||
target_compile_definitions(mo2-spdlog INTERFACE SPDLOG_USE_STD_FORMAT)
|
||||
target_include_directories(mo2-spdlog INTERFACE ${SPDLOG_ROOT}/include)
|
||||
add_library(mo2::spdlog ALIAS mo2-spdlog)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user