From a4f6c6f0053160884f7be547dc43d99d2465f6b2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 30 Sep 2018 16:16:32 +0200 Subject: [PATCH] fix libbsd linking --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9ed0011e6..0e4c342d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -186,6 +186,7 @@ endif() add_library(version STATIC ${VERSION_SRC}) add_library(parser ${PARSER_SRC}) target_link_libraries(parser + bsd ${CRYPTO_LIBRARIES} ) @@ -297,8 +298,7 @@ if (HAVE_STRDUP) endif(HAVE_STRDUP) if (HAVE_LIBBSD) -target_link_libraries(test_eressea bsd) -target_link_libraries(eressea bsd) +target_link_libraries(parser bsd) endif (HAVE_LIBBSD) if (SQLITE3_FOUND)