Revert unnecessary changes [skip ci]

This commit is contained in:
halx99 2022-01-11 18:04:50 +08:00
parent 612a8db9a7
commit 65ee67539d
1 changed files with 6 additions and 3 deletions

View File

@ -66,10 +66,8 @@ endif()
add_library(thirdparty STATIC empty.cpp)
# header only libs
target_compile_definitions(thirdparty INTERFACE FMT_HEADER_ONLY=1)
target_include_directories(thirdparty
INTERFACE "fmt/include"
INTERFACE "robin-map/include"
INTERFACE "robin-map/include"
)
if (ANDROID)
@ -338,6 +336,11 @@ if(BUILD_DEP_KCP)
target_compile_definitions(thirdparty PUBLIC YASIO_HAVE_KCP=1)
endif()
# fmt-lib
add_subdirectory(fmt)
target_link_libraries(thirdparty fmt-header-only)
configure_target_outdir(fmt)
# put "thirdparty" into thirdparty folder, too
configure_target_outdir(thirdparty)