warning -> status (#12275)

This commit is contained in:
江战
2022-07-29 20:23:07 +08:00
committed by GitHub
parent 889dcd0aee
commit aa7d97c1fc
+1 -1
View File
@@ -75,7 +75,7 @@ function(cc_gen_plugin_cmake_hook)
file(APPEND ${plugin_args_info} "${abs_dir}\n")
endforeach()
if("${NODE_EXECUTABLE}" STREQUAL "NODE_EXECUTABLE-NOTFOUND")
message(AUTHOR_WARNING "NodeJS is not found in $PATH")
message(STATUS "NodeJS is not found in $PATH, skip searching native plugins.")
else()
message(STATUS " execute plugin_parser.js ${NODE_EXECUTABLE-NOTFOUND}")
execute_process(COMMAND ${NODE_EXECUTABLE} ${COCOS_X_PATH}/cmake/scripts/plugins_parser.js