Qt: Disable CMake policy CMP0071 (fixes #1028)
Vicki Pfau vi@endrift.com
Fri, 30 Mar 2018 22:43:26 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/CMakeLists.txt
→
src/platform/qt/CMakeLists.txt
@@ -17,6 +17,10 @@ list(APPEND PLATFORM_SRC ${PLATFORM_SRC} ${CMAKE_SOURCE_DIR}/src/platform/sdl/sdl-events.c ${CMAKE_SOURCE_DIR}/src/platform/sdl/sdl-audio.c)
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)