From 77944cd180a758655e0c7863e19449adeecbf7dc Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 4 Feb 2014 11:56:33 +0100 Subject: cmake: Add --libs output for pkg-config. --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) -- cgit