fix libbsd linking

This commit is contained in:
Enno Rehling 2018-09-30 16:16:32 +02:00
parent fb8507e0d2
commit a4f6c6f005

View file

@ -186,6 +186,7 @@ endif()
add_library(version STATIC ${VERSION_SRC}) add_library(version STATIC ${VERSION_SRC})
add_library(parser ${PARSER_SRC}) add_library(parser ${PARSER_SRC})
target_link_libraries(parser target_link_libraries(parser
bsd
${CRYPTO_LIBRARIES} ${CRYPTO_LIBRARIES}
) )
@ -297,8 +298,7 @@ if (HAVE_STRDUP)
endif(HAVE_STRDUP) endif(HAVE_STRDUP)
if (HAVE_LIBBSD) if (HAVE_LIBBSD)
target_link_libraries(test_eressea bsd) target_link_libraries(parser bsd)
target_link_libraries(eressea bsd)
endif (HAVE_LIBBSD) endif (HAVE_LIBBSD)
if (SQLITE3_FOUND) if (SQLITE3_FOUND)