From 7f1039532d24908963a8f104b2c9c4d39998b701 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 25 Apr 2014 13:57:38 +0200 Subject: cmake: Fix policy check. Signed-off-by: Andreas Schneider Reviewed-by: Michael Adam --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit