From d3f0dae89a7940cb2a2f202c72fb04484b9813e7 Mon Sep 17 00:00:00 2001 From: Cinders Date: Fri, 13 Dec 2013 09:26:13 -0700 Subject: [PATCH] Use the old cmake CMP0022 policy to quiet 2.8.12+ warnings. This should be fixed to use the new policy at the next toolchain update. --- indra/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index b7a721db29..27abdb7ca5 100755 --- a/indra/CMakeLists.txt +++ b/indra/CMakeLists.txt @@ -6,6 +6,9 @@ ## prior to 2.8, the add_custom_target commands used in setting the version did not work correctly cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR) +# [FS:CR] Shut up Cmake 2.8.12+ by using the old policy. +cmake_policy(SET CMP0022 OLD) + set(ROOT_PROJECT_NAME "SecondLife" CACHE STRING "The root project/makefile/solution name. Defaults to SecondLife.") project(${ROOT_PROJECT_NAME})