upm/cmake/modules/FindCordova.cmake
Lin Sun 09e5d79fc7 cordova: added Cordova binding based on Java binding
The Cordova plugins for each Java packages will be created
if BUILDCORDOVA=ON and BUILDSWIGJAVA=ON.
2018-03-07 13:29:04 +08:00

8 lines
340 B
CMake

find_program(UPM_CORDOVA_BINDING NAMES upm-cordova-binding
)
if(UPM_CORDOVA_BINDING)
message(STATUS "The npm package to build cordova bindings found at ${UPM_CORDOVA_BINDING}")
else()
message(FATAL_ERROR "Unable to find the npm package for building cordova bindings, please install by 'npm install -g upm-cordova-binding'")
endif()