diff options
| author | Andreas Schneider <asn@samba.org> | 2017-07-27 11:30:23 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2017-07-27 14:17:07 +0200 |
| commit | fafd5ed2dd89b7d951d70d0ac5585939cb2e4dcf (patch) | |
| tree | b77569ab2bebd5f58134223de639c380a57d0f69 /src | |
| parent | e961a1c8b8e03d9e8f070a686207740b486340ea (diff) | |
| download | socket_wrapper-fafd5ed2dd89b7d951d70d0ac5585939cb2e4dcf.tar.gz socket_wrapper-fafd5ed2dd89b7d951d70d0ac5585939cb2e4dcf.tar.xz socket_wrapper-fafd5ed2dd89b7d951d70d0ac5585939cb2e4dcf.zip | |
cmake: Replace deprecated get_target_property()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3b4d7d0..d96f773 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,9 +23,4 @@ set_target_properties( ${LIBRARY_SOVERSION} ) -# This needs to be at the end -if (POLICY CMP0026) - cmake_policy(SET CMP0026 OLD) -endif() -get_target_property(SWRAP_LOCATION socket_wrapper LOCATION) -set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE) +set(SOCKET_WRAPPER_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}socket_wrapper${CMAKE_SHARED_LIBRARY_SUFFIX}" PARENT_SCOPE) |
