Check whether CMP0037 is available or not.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2014-10-08 09:50:59 +09:00
parent a0a6e9e57a
commit dda6200877
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 2.6)
cmake_policy(VERSION 2.6)
cmake_policy(SET CMP0037 OLD)
if(POLICY CMP0037)
cmake_policy(SET CMP0037 OLD)
endif()
PROJECT(picrin)