cmake/Tests/RunCMake/target_link_libraries/CMP0079-link-OLD-stderr.txt

17 lines
748 B
Plaintext
Raw Normal View History

2021-09-14 00:13:48 +02:00
^CMake Deprecation Warning at CMP0079-link-OLD.cmake:[0-9]+ \(cmake_policy\):
The OLD behavior for policy CMP0079 will be removed from a future version
of CMake.
The cmake-policies\(7\) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)
+
CMake Error at CMP0079-link/CMakeLists.txt:[0-9]+ \(target_link_libraries\):
2018-10-28 12:09:07 +01:00
Attempt to add link library "foo" to target "top" which is not built in
this directory.
This is allowed only when policy CMP0079 is set to NEW.$