summaryrefslogtreecommitdiffstats
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 d88f89c..223d484 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -338,7 +338,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)