Permalink
Browse files

Qt: Disable CMake policy CMP0071 (fixes #1028)

  • Loading branch information...
endrift committed Mar 31, 2018
1 parent 16eed8e commit 8e46e0ea79d601ed57eab0ee365bc8a9525ed7fb
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/platform/qt/CMakeLists.txt
@@ -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)

0 comments on commit 8e46e0e

Please sign in to comment.