Fix for incorrect COCOS_COMMAND path (#357)

This commit is contained in:
RH 2021-05-25 01:15:06 +10:00 committed by GitHub
parent 1a1d67bc57
commit df126856ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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})