Permalink
Browse files
Qt: Disable CMake policy CMP0071 (fixes #1028)
- Loading branch information...
Showing
with
4 additions
and
0 deletions.
-
+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