diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-28 18:54:41 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | f4f3096182589b7031905511d44b86cc7ff0bfa4 (patch) | |
tree | 76b6a5b55dc9bc925f1a9bacce983a4942f9cd3e /cmake/cmake.d/03-macros.cmake | |
parent | 215e4b27ddf0908539d34352fbeed62f19521206 (diff) |
Dirty fix to handle distro specific packages deps
Could include first distro specific file to be able to modify
variable from config.cmake and then process classic submodule
cmake files.
Change-Id: Id5dad2504d44c86cb165ad56f5314e9c0c545f0b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/03-macros.cmake')
-rw-r--r-- | cmake/cmake.d/03-macros.cmake | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index a706773..cb830d1 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -121,15 +121,6 @@ macro(configure_files_in_dir dir) endforeach() endmacro(configure_files_in_dir) -macro(add_required_module PKG_CONFIG) - string(REGEX REPLACE "[<>]?=.*$" "" XPREFIX ${PKG_CONFIG}) - PKG_CHECK_MODULES(${XPREFIX} REQUIRED ${PKG_CONFIG}) - - INCLUDE_DIRECTORIES(${${XPREFIX}_INCLUDE_DIRS}) - list(APPEND link_libraries ${${XPREFIX}_LDFLAGS}) - add_compile_options (${${XPREFIX}_CFLAGS}) -endmacro(add_required_module) - # Create custom target dedicated for HTML5 and DATA AGL target type macro(add_input_files INPUT_FILES) if(NOT DEFINED XML_FILES) |