From cb92cd0b89e69273c4e217967f86f61b57361226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=A6=82=E6=B4=AA?= Date: Thu, 20 Apr 2023 11:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20iOS=20=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=BC=96=E8=AF=91=20Socket=5Fios.mm=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=89=BE=E4=B8=8D=E5=88=B0=E9=97=AE=E9=A2=98=20(#2404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CMake Error at 3rdpart/CMakeLists.txt:188 (add_library): Cannot find source file: /Users/shinianzhiqian/Desktop/ZLMediaKit/3rdpart/ZLToolKit/Network/Socket_ios.mm Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc CMake Error at 3rdpart/CMakeLists.txt:188 (add_library): No SOURCES given to target: zltoolkit --- 3rdpart/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdpart/CMakeLists.txt b/3rdpart/CMakeLists.txt index f489b1a8..44e3a551 100644 --- a/3rdpart/CMakeLists.txt +++ b/3rdpart/CMakeLists.txt @@ -153,7 +153,7 @@ file(GLOB ToolKit_SRC_LIST ${ToolKit_ROOT}/src/*/*.c) if(IOS) list(APPEND ToolKit_SRC_LIST - ${ToolKit_ROOT}/Network/Socket_ios.mm) + ${ToolKit_ROOT}/src/Network/Socket_ios.mm) endif() ###################################################################