CMake: Add CMP0025 policy

This commit is contained in:
Vicki Pfau 2018-04-02 17:01:07 -07:00
parent cf3c275daf
commit 26b809044b
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 3.1)
if(POLICY CMP0025)
cmake_policy(SET CMP0025 NEW)
endif()
project(mGBA)
set(BINARY_NAME mgba CACHE INTERNAL "Name of output binaries")
if(NOT MSVC)