Merge pull request #10914 from drTr0jan/contrib-fmt

Add preinstalled libfmt support
This commit is contained in:
Jingyu Zhou 2023-09-25 11:18:43 -07:00 committed by GitHub
commit 6b45aff627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,13 +1,17 @@
add_library(rapidjson INTERFACE)
target_include_directories(rapidjson INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/rapidjson)
find_package(fmt 8.1.1 GLOBAL)
if(NOT fmt_FOUND)
add_subdirectory(fmt-8.1.1)
endif()
add_subdirectory(crc32)
add_subdirectory(stacktrace)
add_subdirectory(folly_memcpy)
add_subdirectory(rapidxml)
add_subdirectory(sqlite)
add_subdirectory(SimpleOpt)
add_subdirectory(fmt-8.1.1)
add_subdirectory(md5)
add_subdirectory(libb64)
if(NOT WIN32)