diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-16 21:46:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-17 13:08:24 (GMT) |
commit | 3b673586f520cf87ae6a0a923a88ad9dadb80b52 (patch) | |
tree | eb4faa3d55bce597b88e8dfdbee5e1a108332307 /Tests/RunCMake/include_directories | |
parent | 5baa81592be69a87c10380daaa03da48c3fc729f (diff) | |
download | CMake-3b673586f520cf87ae6a0a923a88ad9dadb80b52.zip CMake-3b673586f520cf87ae6a0a923a88ad9dadb80b52.tar.gz CMake-3b673586f520cf87ae6a0a923a88ad9dadb80b52.tar.bz2 |
CMP0052: Make the warning message more informative.
Print the reason for the offending entry in the
INTERFACE_INCLUDE_DIRECTORIES.
Diffstat (limited to 'Tests/RunCMake/include_directories')
-rw-r--r-- | Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt | 5 | ||||
-rw-r--r-- | Tests/RunCMake/include_directories/SrcInInstallPrefix-CMP0052-WARN-stderr.txt | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt b/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt index f6d408c..054bff5 100644 --- a/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt +++ b/Tests/RunCMake/include_directories/BinInInstallPrefix-CMP0052-WARN-stderr.txt @@ -12,4 +12,9 @@ CMake Warning \(dev\) in CMakeLists.txt: of the install directory: ".*Tests/RunCMake/include_directories/prefix" + + however it is also a subdirectory of the build tree: + + ".*Tests/RunCMake/include_directories/prefix/BinInInstallPrefix-CMP0052-WARN-build" + This warning is for project developers. Use -Wno-dev to suppress it. diff --git a/Tests/RunCMake/include_directories/SrcInInstallPrefix-CMP0052-WARN-stderr.txt b/Tests/RunCMake/include_directories/SrcInInstallPrefix-CMP0052-WARN-stderr.txt index 78710c0..0b13fd8 100644 --- a/Tests/RunCMake/include_directories/SrcInInstallPrefix-CMP0052-WARN-stderr.txt +++ b/Tests/RunCMake/include_directories/SrcInInstallPrefix-CMP0052-WARN-stderr.txt @@ -12,4 +12,9 @@ CMake Warning \(dev\) in CMakeLists.txt: of the install directory: ".*Tests/RunCMake/include_directories/prefix" + + however it is also a subdirectory of the source tree: + + ".*Tests/RunCMake/include_directories/prefix/src" + This warning is for project developers. Use -Wno-dev to suppress it. |