From 25aea26262048a32c99e656c51d3bdf29cc2265c Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Thu, 14 Apr 2022 18:48:49 +0800 Subject: [PATCH] conditional compile swappy (#10773) --- native/CMakeLists.txt | 4 ---- native/external-config.json | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index df3d6ba6cc..cf1c8d3f52 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -140,10 +140,6 @@ endif() include(${CMAKE_CURRENT_LIST_DIR}/external/CMakeLists.txt) -if(ANDROID AND SWAPPY_ENABLED) - add_definitions(-DCC_SWAPPY_ENABLED) -endif() - ##### audio if(USE_AUDIO) cocos_source_files( diff --git a/native/external-config.json b/native/external-config.json index afb2fe7c2f..dcc52e8c20 100644 --- a/native/external-config.json +++ b/native/external-config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-113", + "version": "v3d-gfx-114", "from": { "type": "github", "owner": "cocos", "name": "cocos-engine-external", - "checkout": "v3d-gfx-112" + "checkout": "v3d-gfx-114" } } \ No newline at end of file