aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to '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)