Avoid cmake warning
This commit is contained in:
parent
aec7ca0ce9
commit
4802c4d11c
@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 2.6)
|
|||||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
|
||||||
cmake_policy(SET CMP0003 NEW)
|
cmake_policy(SET CMP0003 NEW)
|
||||||
|
|
||||||
|
if(NOT (CMAKE_MAJOR_VERSION VERSION_LESS 3))
|
||||||
|
cmake_policy(SET CMP0048 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
project(angelscript)
|
project(angelscript)
|
||||||
|
|
||||||
option(BUILD_SHARED_LIBS "Build shared library" OFF)
|
option(BUILD_SHARED_LIBS "Build shared library" OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user