适配 build_infra

This commit is contained in:
2026-07-22 10:19:02 +08:00
parent b05d9fe6c6
commit 908c8b5a36
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_LIST_DIR})
include(third_party/build_infra/start.cmake)
include(third_party/CPP_Core/main.cmake)
include(third_party/SSR/main.cmake)
set(ecap_rely drogon libarchive SQLiteCpp)
library_is_installed_with_rely(global ok ${ecap_rely})
set(ecap_rely global::drogon global::libarchive global::SQLiteCpp)
library_is_installed_with_rely(ok ${ecap_rely})
if (${ok})
include(${CMAKE_SOURCE_DIR}/main.cmake)
else ()
+3 -3
View File
@@ -1,6 +1,6 @@
get_filename_component(name ${CMAKE_CURRENT_LIST_DIR} NAME)
set(rely libarchive SQLiteCpp)
rcl_load_dependency_environment(drogon ${rely})
set(rely global::drogon global::libarchive global::SQLiteCpp)
rcl_load_dependency_environment(${rely})
#message("222222222 LibArchive_SUB_LIBRARIES {${LibArchive_SUB_LIBRARIES}}")
@@ -137,7 +137,7 @@ if (1)
_attach_source_dir(test_drogon "${md}/test_drogon")
target_link_libraries(test_drogon PRIVATE Drogon::Drogon)
endif ()
rcl_unload_dependency_environment(drogon ${rely})
rcl_unload_dependency_environment(${rely})
#include("${CMAKE_SOURCE_DIR}/0_cmake_library/ninja_build_analyze/export.cmake")
#
#register_ninja_build_analyze_target(