summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-04-25 13:57:38 +0200
committerAndreas Schneider <asn@samba.org>2014-04-25 14:26:57 +0200
commit7f1039532d24908963a8f104b2c9c4d39998b701 (patch)
tree5fad07a934d42d79ea976ab63190a6f086f98037 /src
parentf79b7fa04ba9e6da442e81e46080de5be19f0eac (diff)
downloadsocket_wrapper-7f1039532d24908963a8f104b2c9c4d39998b701.tar.gz
socket_wrapper-7f1039532d24908963a8f104b2c9c4d39998b701.tar.xz
socket_wrapper-7f1039532d24908963a8f104b2c9c4d39998b701.zip
cmake: Fix policy check.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 50ac9ad..95a691f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,7 +23,7 @@ set_target_properties(
)
# This needs to be at the end
-if (CMAKE_VERSION VERSION_GREATER 2.8.13)
+if (POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif()
get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)