Fix warning for CMP0071

This commit is contained in:
Maxime Gimeno 2019-03-25 10:24:33 +01:00
parent 2835fff295
commit e2becb4e54
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ set(CMAKE_AUTOMOC ON)
cmake_minimum_required(VERSION 3.1...3.13)
if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()
find_package(CGAL QUIET COMPONENTS Core Qt5)
find_package(Qt5 QUIET COMPONENTS Widgets)