From f91196bc8a50ba0c2897aaf3b494327811665fdb Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Tue, 12 May 2009 01:46:42 +0000 Subject: [PATCH] CMakeLists.txt: Set cmake policy to avoid warning. svn path=/trunk/yasm/; revision=2200 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc49eeec..0bbb68bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ PROJECT(yasm) CMAKE_MINIMUM_REQUIRED(VERSION 2.4) +if (COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) +endif (COMMAND cmake_policy) SET(BUILD_SHARED_LIBS ON) -- 2.40.0