diff options
| author | Andreas Schneider <asn@samba.org> | 2014-02-04 11:56:33 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2014-02-04 12:44:38 +0100 |
| commit | 77944cd180a758655e0c7863e19449adeecbf7dc (patch) | |
| tree | 63a6e01ac676385fb56bd8731117e9cdde81b81c /src | |
| parent | 23631b4c920bdcf14d6151a1f4f89d49b78c2feb (diff) | |
| download | socket_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.txt | 4 |
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) |
