mirror of https://github.com/axmolengine/axmol.git
Revert unnecessary changes [skip ci]
This commit is contained in:
parent
612a8db9a7
commit
65ee67539d
|
@ -66,10 +66,8 @@ endif()
|
||||||
add_library(thirdparty STATIC empty.cpp)
|
add_library(thirdparty STATIC empty.cpp)
|
||||||
|
|
||||||
# header only libs
|
# header only libs
|
||||||
target_compile_definitions(thirdparty INTERFACE FMT_HEADER_ONLY=1)
|
|
||||||
target_include_directories(thirdparty
|
target_include_directories(thirdparty
|
||||||
INTERFACE "fmt/include"
|
INTERFACE "robin-map/include"
|
||||||
INTERFACE "robin-map/include"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ANDROID)
|
if (ANDROID)
|
||||||
|
@ -338,6 +336,11 @@ if(BUILD_DEP_KCP)
|
||||||
target_compile_definitions(thirdparty PUBLIC YASIO_HAVE_KCP=1)
|
target_compile_definitions(thirdparty PUBLIC YASIO_HAVE_KCP=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# fmt-lib
|
||||||
|
add_subdirectory(fmt)
|
||||||
|
target_link_libraries(thirdparty fmt-header-only)
|
||||||
|
configure_target_outdir(fmt)
|
||||||
|
|
||||||
# put "thirdparty" into thirdparty folder, too
|
# put "thirdparty" into thirdparty folder, too
|
||||||
configure_target_outdir(thirdparty)
|
configure_target_outdir(thirdparty)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue