Add CMake Policy settings.

I set version 2.6 as the baseline since cmake_minimum_required does so.
CMP0037 denies target names reserved by generators, e.g. test.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2014-10-07 23:00:27 +09:00
parent 2f8c5a7689
commit a0a6e9e57a
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 2.6)
cmake_policy(VERSION 2.6)
cmake_policy(SET CMP0037 OLD)
PROJECT(picrin)