summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-04 11:56:33 +0100
committerAndreas Schneider <asn@samba.org>2014-02-04 12:44:38 +0100
commit77944cd180a758655e0c7863e19449adeecbf7dc (patch)
tree63a6e01ac676385fb56bd8731117e9cdde81b81c /src
parent23631b4c920bdcf14d6151a1f4f89d49b78c2feb (diff)
downloadsocket_wrapper-77944cd180a758655e0c7863e19449adeecbf7dc.tar.gz
socket_wrapper-77944cd180a758655e0c7863e19449adeecbf7dc.tar.xz
socket_wrapper-77944cd180a758655e0c7863e19449adeecbf7dc.zip
cmake: Add --libs output for pkg-config.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bdbe890..cf70501 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -21,3 +21,7 @@ set_target_properties(
SOVERSION
${LIBRARY_SOVERSION}
)
+
+# This needs to be at the end
+get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)
+set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE)