Warning, /libraries/kreport/cmake/modules/SetKReportCMakePolicies.cmake is written in an unsupported language. File is not indexed.

0001 # Copyright (C) 2003-2016 Jarosław Staniek <staniek@kde.org>
0002 #
0003 # Redistribution and use is allowed according to the terms of the BSD license.
0004 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
0005 
0006 cmake_policy(SET CMP0017 NEW)
0007 cmake_policy(SET CMP0048 NEW) # for PROJECT_VERSION
0008 cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's Qt5ModuleLocation.cmake
0009                               # "Simplify variable reference and escape sequence evaluation"
0010 
0011 if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property.
0012     cmake_policy(SET CMP0059 OLD)
0013 endif()
0014 if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3)
0015     cmake_policy(SET CMP0063 NEW)
0016 endif()
0017 if(POLICY CMP0071) # Don't warn when combining AUTOMOC with qt5_wrap_ui() or qt5_add_resources() (since cmake 3.10)
0018     cmake_policy(SET CMP0071 NEW)
0019 endif()