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:
parent
2f8c5a7689
commit
a0a6e9e57a
|
@ -1,4 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
cmake_policy(VERSION 2.6)
|
||||||
|
cmake_policy(SET CMP0037 OLD)
|
||||||
|
|
||||||
PROJECT(picrin)
|
PROJECT(picrin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue