forked from github/server
fix libbsd linking
This commit is contained in:
parent
fb8507e0d2
commit
a4f6c6f005
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue