From ae81d1fc48ea2592538e6d2f47962ab5b1a68a84 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:30:47 +0800 Subject: [PATCH] fake-dlfcn module issues --- src/CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 54e3a05b7..cf9963192 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -179,13 +179,7 @@ if(ANDROID) target_link_libraries(ssr-client ancillary json-c uv_a cstl mbedtls sodium bloom m log uv-mbed uri-encode) ]] - include(FetchContent) - FetchContent_Declare( - fake-dlfcn - GIT_REPOSITORY https://github.com/ssrlive/fake-dlfcn.git - GIT_TAG 2ee50c763c85f67a3062bf65163ea63a19a53709 - ) - FetchContent_MakeAvailable(fake-dlfcn) + include_directories(${LIB_FAKE_DLFCN_DIR}) list ( APPEND SOURCE_FILES_CLIENT android.c