Skip to content
Snippets Groups Projects
Commit 059e0a5f authored by Adrien Béraud's avatar Adrien Béraud
Browse files

Merge pull request #50 from sim590/link-libraries

Specifying linking libraries in CMake
parents a4a54af3 7a27dace
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,9 @@ if (NOT DEFINED CMAKE_INSTALL_LIBDIR) ...@@ -83,6 +83,9 @@ if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
set(CMAKE_INSTALL_LIBDIR lib) set(CMAKE_INSTALL_LIBDIR lib)
endif () endif ()
target_link_libraries(opendht-static gnutls nettle)
target_link_libraries(opendht gnutls nettle)
if (OPENDHT_TOOLS) if (OPENDHT_TOOLS)
add_subdirectory(tools) add_subdirectory(tools)
endif () endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment