From 3747d8d66eafa0298b434cad8f1c0dfd254a9261 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 17 Sep 2014 17:38:05 +0100 Subject: Fix profiler linkage. --- src/client/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client') diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 00e48a931..d1e13f0ba 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -43,6 +43,9 @@ IF(OPENSSL_FOUND) TARGET_LINK_LIBRARIES(rspamc ${OPENSSL_LIBRARIES}) ENDIF(OPENSSL_FOUND) TARGET_LINK_LIBRARIES(rspamc ${RSPAMD_REQUIRED_LIBRARIES}) +IF(ENABLE_GPERF_TOOLS MATCHES "ON") + TARGET_LINK_LIBRARIES(rspamc profiler) +ENDIF(ENABLE_GPERF_TOOLS MATCHES "ON") IF(NOT DEBIAN_BUILD) SET_TARGET_PROPERTIES(rspamc PROPERTIES VERSION ${RSPAMD_VERSION}) ENDIF(NOT DEBIAN_BUILD) -- cgit v1.2.3