2023-10-17 20:54:52 +08:00
|
|
|
cmake_minimum_required(VERSION 3.10...3.27)
|
|
|
|
|
|
|
|
add_subdirectory(base64)
|
|
|
|
add_subdirectory(lz4)
|
|
|
|
add_subdirectory(mongoose)
|
2023-12-26 18:00:05 +08:00
|
|
|
add_subdirectory(spdlog)
|
2024-04-06 11:38:16 +08:00
|
|
|
add_subdirectory(tinyxml2)
|
|
|
|
|
|
|
|
|
|
|
|
if(USE_EXTERNAL_DETOURS)
|
|
|
|
find_path(DETOURS_INCLUDE_DIRS "detours/detours.h")
|
|
|
|
find_library(DETOURS_LIBRARY detours REQUIRED)
|
|
|
|
else()
|
|
|
|
add_subdirectory(Detours)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(USE_EXTERNAL_JSON)
|
|
|
|
find_package(nlohmann_json 3.2.0 REQUIRED)
|
|
|
|
else()
|
|
|
|
set(JSON_BuildTests OFF CACHE INTERNAL "")
|
|
|
|
add_subdirectory(json)
|
|
|
|
endif()
|