Check whether CMP0037 is available or not.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
a0a6e9e57a
commit
dda6200877
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue