diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-10 18:42:50 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 1e590c847bf7e6740461a59b10c405c3fbe99ba1 (patch) | |
tree | f820fd8606c9156f8a8dd369b009c3f69f4923a3 /cmake/cmake.d/04-build_options.cmake | |
parent | 45353a9f229e09150946305fd029c526f97f89b1 (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.cmake | 4 |
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 |