aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/04-build_options.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-10 18:42:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-10 18:42:50 +0200
commit10bc75777dc03d19c12159e733756b23b18e6d4c (patch)
tree455a8fe9acb608f0463d1251b2ce6a99c13abc94 /cmake/cmake.d/04-build_options.cmake
parentc9d3fd48e15d8ba4183c0410706a97769c391c30 (diff)
Fix: wrong link libraries dependencies var name
Change-Id: Idbdb781c0cb7ab9a6df4b821868587bfaa8e3c2f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/04-build_options.cmake')
-rw-r--r--cmake/cmake.d/04-build_options.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/cmake.d/04-build_options.cmake b/cmake/cmake.d/04-build_options.cmake
index 7f990b2..3db685c 100644
--- a/cmake/cmake.d/04-build_options.cmake
+++ b/cmake/cmake.d/04-build_options.cmake
@@ -112,8 +112,8 @@ foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})
PKG_CHECK_MODULES(${XPREFIX} REQUIRED ${PKG_CONFIG})
INCLUDE_DIRECTORIES(${${XPREFIX}_INCLUDE_DIRS})
- list (APPEND link_libraries ${${XPREFIX}_LDOPTIONS})
- add_compile_options (${${XPREFIX}_COPTIONS})
+ list(APPEND link_libraries ${${XPREFIX}_LDFLAGS})
+ add_compile_options (${${XPREFIX}_CFLAGS})
endforeach(PKG_CONFIG)
# Optional LibEfence Malloc debug library