From d907a1a7a56211f841222c8e566592efc52c39c5 Mon Sep 17 00:00:00 2001 From: HALX99 Date: Tue, 6 Oct 2020 20:55:38 +0800 Subject: [PATCH] Build mac with alsoft support (#226) * Build mac with alsoft support * Add missing dep for mac * Update CocosConfigDepend.cmake --- cmake/Modules/CocosConfigDepend.cmake | 4 ++++ external/config.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/CocosConfigDepend.cmake b/cmake/Modules/CocosConfigDepend.cmake index 90efd206ae..4217f25b87 100644 --- a/cmake/Modules/CocosConfigDepend.cmake +++ b/cmake/Modules/CocosConfigDepend.cmake @@ -56,6 +56,8 @@ macro(cocos2dx_depend) find_library(IOKIT_LIBRARY IOKit) find_library(APPKIT_LIBRARY AppKit) find_library(ICONV_LIBRARY iconv) + find_library(AUDIOUNIT_LIBRARY AudioUnit) + find_library(COREAUDIO_LIBRARY CoreAudio) list(APPEND PLATFORM_SPECIFIC_LIBS ${COCOA_LIBRARY} ${OPENGL_LIBRARY} @@ -64,6 +66,8 @@ macro(cocos2dx_depend) ${COCOS_APPLE_LIBS} ${APPKIT_LIBRARY} ${ICONV_LIBRARY} + ${AUDIOUNIT_LIBRARY} + ${COREAUDIO_LIBRARY} ) elseif(IOS) # Locate system libraries on iOS diff --git a/external/config.json b/external/config.json index 933cde5a13..3c701a9e5a 100644 --- a/external/config.json +++ b/external/config.json @@ -1,5 +1,5 @@ { - "version": "v73", + "version": "v74", "zip_file_size": "107642814", "repo_name": "engine-x-3rd", "repo_parent": "https://github.com/c4games/",