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.

Cinders 2013-12-13 09:26:13 -07:00
parent 729968b6ff
commit d3f0dae89a
1 changed files with 3 additions and 0 deletions

View File

@ -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})