mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 12:20:58 +00:00
don't fail on cmake version 2
This commit is contained in:
parent
1ac99c04ae
commit
8fa93bcc3b
@ -9,9 +9,10 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
||||
if(COMMAND cmake_policy)
|
||||
# CMP0003: Libraries linked via full path no longer produce linker search paths.
|
||||
#cmake_policy(SET CMP0003 NEW)
|
||||
|
||||
if(CMAKE_MAJOR_VERSION GREATER 2)
|
||||
# CMP0046: Old behavior to silently ignore non-existent dependencies.
|
||||
cmake_policy(SET CMP0046 OLD)
|
||||
endif(CMAKE_MAJOR_VERSION GREATER 2)
|
||||
endif(COMMAND cmake_policy)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user