Check whether CMP0037 is available or not.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user