summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-04-07 12:16:10 +0200
committerAndreas Schneider <asn@samba.org>2014-04-07 12:17:47 +0200
commitaf3c688938be9f3a506107c65b964b362d2ef5c4 (patch)
treecf116cf7cdcf7c2237101be9bbc8fce83697157c
parentc97864a3da2f2554d02e7f1c312af4480f1a7027 (diff)
downloadsocket_wrapper-af3c688938be9f3a506107c65b964b362d2ef5c4.tar.gz
socket_wrapper-af3c688938be9f3a506107c65b964b362d2ef5c4.tar.xz
socket_wrapper-af3c688938be9f3a506107c65b964b362d2ef5c4.zip
cmake: Fix configure warning with cmake 3.0.
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cf70501..449ed54 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,5 +23,6 @@ set_target_properties(
)
# This needs to be at the end
+cmake_policy(SET CMP0026 OLD)
get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)
set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE)