mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
cmake: Change from search to check for TPV modules.
Switch the calls from pkg_search_module to pkg_check_modules for ozw, bacnet, and modbus. Check prints out the version when found. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -3,7 +3,7 @@ set (libdescription "upm module for the OpenZWave library interface")
|
||||
set (module_src ${libname}.cxx zwNode.cxx)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
|
||||
pkg_search_module(OPENZWAVE libopenzwave)
|
||||
pkg_check_modules(OPENZWAVE libopenzwave)
|
||||
if (OPENZWAVE_FOUND)
|
||||
set (reqlibname "libopenzwave")
|
||||
include_directories(${OPENZWAVE_INCLUDE_DIRS})
|
||||
|
Reference in New Issue
Block a user