scap-workbench icon indicating copy to clipboard operation
scap-workbench copied to clipboard

cmake CMP0071 policy warning

Open dirtyharrycallahan opened this issue 6 years ago • 0 comments

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.

dirtyharrycallahan avatar Dec 03 '18 14:12 dirtyharrycallahan