Don't process generated Qt files with AUTOMOC and AUTOUIC

Explicitly set current behaviour
pull/232/head
Hleb Valoshka 2019-02-14 10:09:17 +03:00
parent f089e98d83
commit e8226510c7
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.1.0)
option(LEGACY_OPENGL_LIBS "Use legacy OpenGL libraries instead of glvnd library (Default: off)" OFF)
if (POLICY CMP0071)
cmake_policy(SET CMP0071 OLD)
endif()
if (POLICY CMP0072)
if (LEGACY_OPENGL_LIBS)
cmake_policy(SET CMP0072 OLD)