OpenSCAP / scap-workbench

SCAP Scanner And Tailoring Graphical User Interface
https://www.open-scap.org/tools/scap-workbench
GNU General Public License v3.0
226 stars 65 forks source link

cmake CMP0071 policy warning #219

Open dirtyharrycallahan opened 5 years ago

dirtyharrycallahan commented 5 years ago

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  For compatibility, CMake is excluding the GENERATED source file(s):

    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_CommandLineArgsDialog.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_DiagnosticsDialog.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_MainWindow.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_ProcessProgress.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_ProfilePropertiesDockWidget.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_RemoteMachineComboBox.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_ResultViewer.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_RuleResultItem.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_RuleResultsTree.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_SSGIntegrationDialog.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_SaveAsRPMDialog.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_TailorProfileDialog.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_TailoringWindow.h"
    "/zfs-stor/jenkins/workspace/openscap-scap-workbench/build/ui_XCCDFItemPropertiesDockWidget.h"

  from processing by AUTOMOC.  If any of the files should be processed, set
  CMP0071 to NEW.  If any of the files should not be processed, explicitly
  exclude them by setting the source file property SKIP_AUTOMOC:

    set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON)

This warning is for project developers.  Use -Wno-dev to suppress it.