diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-08 12:16:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-08 15:41:34 (GMT) |
commit | 73e93400e2efab2096618ff58a5ad68236cd04aa (patch) | |
tree | bc144c3cd832a7afa9aab8d598ca82f6ac77da9e /Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt | |
parent | ab9f58f657a244d182ccd9a9361fae0a7c068f20 (diff) | |
download | CMake-73e93400e2efab2096618ff58a5ad68236cd04aa.zip CMake-73e93400e2efab2096618ff58a5ad68236cd04aa.tar.gz CMake-73e93400e2efab2096618ff58a5ad68236cd04aa.tar.bz2 |
get_target_property: Error on non-existent target.
Introduce policy CMP0045 to control this behavior.
Diffstat (limited to 'Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt b/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt new file mode 100644 index 0000000..4c53224 --- /dev/null +++ b/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt @@ -0,0 +1,9 @@ +CMake Warning \(dev\) at CMP0045-WARN.cmake:2 \(get_target_property\): + Policy CMP0045 is not set: Error on non-existent target in + get_target_property. Run "cmake --help-policy CMP0045" for policy details. + Use the cmake_policy command to set the policy and suppress this warning. + + get_target_property\(\) called with non-existent target "tgt". +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. |