Qt: Disable CMake policy CMP0071 (fixes #1028)

This commit is contained in:
Vicki Pfau 2018-03-30 22:43:26 -07:00
parent 16eed8ed34
commit 8e46e0ea79
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ if(BUILD_SDL)
include_directories(${SDL_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/src/platform/sdl)
endif()
if(POLICY CMP0071)
cmake_policy(SET CMP0071 OLD)
endif()
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)