Cordova: Renamed cmake Find module for bindings

Renamed find module from FindCordova to FindUpmCordovaGenerator to be
more descriptive with the intent of the find module.  Updated the find
module to use find_package_handle_standard_args so a version can be
specified and handle REQUIRED keyword.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2018-03-15 13:33:38 -07:00
parent b09944f4b8
commit 757683b2ca
3 changed files with 21 additions and 9 deletions

View File

@ -178,7 +178,7 @@ if (BUILDCORDOVA)
find_package (Node REQUIRED)
find_package (Npm REQUIRED)
find_package (Cordova REQUIRED)
find_package (UpmCordovaGenerator 0.2.1 REQUIRED)
endif (BUILDCORDOVA)
# Find swig if any wrapper is enabled