mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
cmake: Updated pkg_check_modules usage for TPV libraries
* Moved CMAKE_MODULE_PATH append hier in top-level CMakeLists file so that it's before all calls to find_package. * Added pkg_check_modules for BACNET, MODBUS, JPEG, and OPENZWAVE to top-level CMakeLists file. * Removed pkg_check_modules from individual sensor libraries. * Simplified SWIG find_package call - require 3.0.5 for all SWIG wrappers. * Moved options to beginning of top-level CMakeLists. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -3,7 +3,6 @@ set (libdescription "upm Video Frame Capture and image save utility")
|
||||
set (module_src ${libname}.cxx)
|
||||
set (module_hpp ${libname}.hpp)
|
||||
|
||||
find_package (JPEG)
|
||||
if (JPEG_FOUND)
|
||||
set (reqlibname "jpeg")
|
||||
upm_module_init()
|
||||
@ -17,4 +16,4 @@ if (JPEG_FOUND)
|
||||
if (BUILDSWIGJAVA)
|
||||
swig_link_libraries (javaupm_${libname} jpeg)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user