From 4899bb9a09d3a2e76ec2af88677f7e1e2ef52542 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Mon, 27 May 2024 10:25:54 +0200 Subject: macos fixes --- monero_libwallet2_api_c/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'monero_libwallet2_api_c') diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index 3efca54..2eaae56 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -291,10 +291,6 @@ add_library(hidapi STATIC IMPORTED) set_target_properties(hidapi PROPERTIES IMPORTED_LOCATION ${EXTERNAL_LIBS_DIR}/lib/libhidapi.a) -add_library(event STATIC IMPORTED) -set_target_properties(event PROPERTIES IMPORTED_LOCATION - ${EXTERNAL_LIBS_DIR}/lib/libevent.a) - ############# # System ############# @@ -327,7 +323,7 @@ if (${HOST_ABI} STREQUAL "x86_64-apple-darwin11" OR ${HOST_ABI} STREQUAL "aarch6 elseif(${HOST_ABI} STREQUAL "host-apple-darwin" OR ${HOST_ABI} STREQUAL "x86_64-host-apple-darwin" OR ${HOST_ABI} STREQUAL "aarch64-host-apple-darwin") - set(EXTRA_LIBS_APPLE "-framework IOKit" "-framework CoreFoundation" "-framework Cocoa" apple_nghttp2 event) + set(EXTRA_LIBS_APPLE "-framework IOKit" "-framework CoreFoundation" "-framework Cocoa" apple_nghttp2) elseif(${HOST_ABI} STREQUAL "host-apple-ios") set(EXTRA_LIBS_APPLE "-framework IOKit" "-framework CoreFoundation" iconv ) endif() -- cgit v1.2.3