summaryrefslogtreecommitdiffstats
path: root/cmake/common.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-13 08:51:45 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-06-13 08:51:45 +0000
commit4dba24652a99e5a36ce31f545cdb29c46a82e216 (patch)
treedba5276da0e1e1cf9a6151edff2b9cf419189063 /cmake/common.cmake
parent21ae95d8eb61745ca54fd143e25dba065a817f6a (diff)
parentaf3cc6496e6c4372b05e9559e349a7fd41ac993e (diff)
Merge "Replace LIBRARIES by LDFLAGS for pkgconfig dep"
Diffstat (limited to 'cmake/common.cmake')
-rw-r--r--cmake/common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index 461ea17..353e1ec 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -340,7 +340,7 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})
PKG_CHECK_MODULES(${XPREFIX} REQUIRED ${PKG_CONFIG})
INCLUDE_DIRECTORIES(${${XPREFIX}_INCLUDE_DIRS})
- list (APPEND link_libraries ${${XPREFIX}_LIBRARIES})
+ list (APPEND link_libraries ${${XPREFIX}_LDFLAGS})
add_compile_options (${${XPREFIX}_CFLAGS})
endforeach(PKG_CONFIG)