Added compile definitions to header_only

This commit is contained in:
gabime 2024-11-30 18:31:02 +02:00
parent 3f5443595c
commit f001fea02e

View File

@ -249,6 +249,7 @@ else ()
endif()
if(HAVE_FWRITE_UNLOCKED)
target_compile_definitions(spdlog PRIVATE SPDLOG_FWRITE_UNLOCKED)
target_compile_definitions(spdlog_header_only INTERFACE SPDLOG_FWRITE_UNLOCKED)
endif()
# ---------------------------------------------------------------------------------------