From df126856ba58f4eff551e15142b04e50312d3756 Mon Sep 17 00:00:00 2001 From: RH Date: Tue, 25 May 2021 01:15:06 +1000 Subject: [PATCH] Fix for incorrect COCOS_COMMAND path (#357) --- cmake/Modules/CocosBuildSet.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/CocosBuildSet.cmake b/cmake/Modules/CocosBuildSet.cmake index 1fe95c5811..dfa5384652 100644 --- a/cmake/Modules/CocosBuildSet.cmake +++ b/cmake/Modules/CocosBuildSet.cmake @@ -15,8 +15,8 @@ if(CMAKE_TOOLCHAIN_FILE) endif() find_program(PYTHON_COMMAND NAMES python3 python2 python) -find_program(COCOS_COMMAND NAME cocos - PATHS ${ADXE_ROOT_PATH}/tools/cocos2d-console/bin $ENV{COCOS_CONSOLE_ROOT}) +find_program(COCOS_COMMAND NAME adxe + PATHS ${ADXE_ROOT_PATH}/tools/cocos2d-console/bin $ENV{ADXE_CONSOLE_ROOT}) message(STATUS "PROJECT_NAME:" ${PROJECT_NAME}) message(STATUS "PROJECT_SOURCE_DIR:" ${PROJECT_SOURCE_DIR})