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:
@@ -1,4 +1,6 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_policy(VERSION 2.6)
|
||||
cmake_policy(SET CMP0037 OLD)
|
||||
|
||||
PROJECT(picrin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user