summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/IfacePaths/SrcInInstallPrefix-CMP0052-WARN-stderr_INCLUDE_DIRECTORIES.txt
blob: fd6e3726dbec1383c49eb48cba59450f52af5ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CMake Warning \(dev\) in CMakeLists.txt:
  Policy CMP0052 is not set: Reject source and build dirs in installed
  INTERFACE_INCLUDE_DIRECTORIES.  Run "cmake --help-policy CMP0052" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Directory:

      ".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/src/foo"

  in INTERFACE_INCLUDE_DIRECTORIES of target "testTarget" is a subdirectory
  of the install directory:

      ".*Tests/RunCMake/IfacePaths_INCDIRS/prefix"

  however it is also a subdirectory of the source tree:

      ".*Tests/RunCMake/IfacePaths_INCDIRS/prefix/src"

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