summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-05-28 14:43:24 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-05-28 14:43:24 +0200
commit48d46cac3f21805eedc39a53cb224735c46ab77a (patch)
tree12b3db6762269f75eeb726eec0c7f83644cf81b6 /src
parentbf609adeeb2acf40dbbce97aab051712913b845c (diff)
downloadsocket_wrapper-48d46cac3f21805eedc39a53cb224735c46ab77a.tar.gz
socket_wrapper-48d46cac3f21805eedc39a53cb224735c46ab77a.tar.xz
socket_wrapper-48d46cac3f21805eedc39a53cb224735c46ab77a.zip
cmake: Link against libdl.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 23fdf60..96b6cd1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -3,6 +3,8 @@ project(libsocket_wrapper C)
include_directories(${CMAKE_BINARY_DIR})
add_library(socket_wrapper SHARED socket_wrapper.c)
+target_link_libraries(socket_wrapper ${SWRAP_REQUIRED_LIBRARIES})
+
install(
TARGETS
socket_wrapper