aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/lgpl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lgpl/CMakeLists.txt')
-rw-r--r--contrib/lgpl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lgpl/CMakeLists.txt b/contrib/lgpl/CMakeLists.txt
index 2cd97a7f8..39191620a 100644
--- a/contrib/lgpl/CMakeLists.txt
+++ b/contrib/lgpl/CMakeLists.txt
@@ -12,7 +12,7 @@ IF(GLIB2_VERSION VERSION_LESS "2.16")
ADD_LIBRARY(glibadditions SHARED ${LIBGLIBSRC})
SET_TARGET_PROPERTIES(glibadditions PROPERTIES COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/contrib/lgpl")
- TARGET_LINK_LIBRARIES(glibadditions ${CMAKE_REQUIRED_LIBRARIES})
+ TARGET_LINK_LIBRARIES(glibadditions ${RSPAMD_REQUIRED_LIBRARIES})
SET_TARGET_PROPERTIES(glibadditions PROPERTIES VERSION ${RSPAMD_VERSION})