Code Review
/
staging
/
xdg-launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f3e177c
)
Replace LIBRARIES by LDFLAGS for pkgconfig dep
author
Ronan Le Martret
<ronan.lemartret@iot.bzh>
Mon, 12 Jun 2017 09:38:38 +0000
(11:38 +0200)
committer
Ronan Le Martret
<ronan.lemartret@iot.bzh>
Mon, 12 Jun 2017 09:46:24 +0000
(11:46 +0200)
XXX_LIBRARIES provide the lib name, LDFLAGS lib name and path.
Change-Id: Iad84a450e2a0876e8c9d284408a43f472e1f275f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
cmake/common.cmake
patch
|
blob
|
history
diff --git
a/cmake/common.cmake
b/cmake/common.cmake
index
6daba89
..
3468813
100644
(file)
--- a/
cmake/common.cmake
+++ b/
cmake/common.cmake
@@
-333,7
+333,7
@@
foreach (PKG_CONFIG ${PKG_REQUIRED_LIST})
PKG_CHECK_MODULES(${XPREFIX} REQUIRED ${PKG_CONFIG})
INCLUDE_DIRECTORIES(${${XPREFIX}_INCLUDE_DIRS})
- list (APPEND link_libraries ${${XPREFIX}_L
IBRARIE
S})
+ list (APPEND link_libraries ${${XPREFIX}_L
DFLAG
S})
add_compile_options (${${XPREFIX}_CFLAGS})
endforeach(PKG_CONFIG)