From: Roman Donchenko Date: Tue, 5 Nov 2013 12:44:09 +0000 (+0400) Subject: Remove the explicit setting of CMP0017, partially undoing #1720. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~3703^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f5eaca354f39096be604ee1e3c96e70191f0671;p=platform%2Fupstream%2Fopencv.git Remove the explicit setting of CMP0017, partially undoing #1720. In master, it's already set to NEW, since we declare the minimal CMake version as 2.8.7, which is newer than the policy. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 324d069..73def95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,10 +32,6 @@ else(NOT CMAKE_TOOLCHAIN_FILE) endif(NOT CMAKE_TOOLCHAIN_FILE) -if(POLICY CMP0017) - cmake_policy(SET CMP0017 NEW) -endif() - if(POLICY CMP0022) cmake_policy(SET CMP0022 OLD) endif()