CMake: Fix CMP0058 warning when using Ninja

Authored by kfunk on Jun 13 2017, 5:50 PM.

Description

CMake: Fix CMP0058 warning when using Ninja

Summary:

CMake Warning (dev):
  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  This project specifies custom command DEPENDS on files in the build tree
  that are not specified as the OUTPUT or BYPRODUCTS of any
  add_custom_command or add_custom_target:

   data/syntax-data.qrc

Reviewers: vkrause, dhaumann

Reviewed By: vkrause

Subscribers: Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D6220

Details

Committed
kfunkJun 22 2017, 7:40 AM
Reviewer
vkrause
Differential Revision
D6220: CMake: Fix CMP0058 warning when using Ninja
Parents
R216:1a45c33a1689: Don't assume 'diff' is in PATH for other tests
Branches
Unknown
Tags
Unknown