mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
Merge topic 'improve-CMP0028-messages'
ea050286e7CMP0028: Report the target whose link interface has an offending itema97c92e46eCMP0028: Report backtrace to link item rather than target creation0dcbf4ab58cmGeneratorTarget: Record when imported target link iface libs are done Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6810
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
CMake Error at CMP0028-NEW-iface.cmake:6 \(add_library\):
|
||||
Target "foo" links to target "External::Library" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
CMake Error at CMP0028-NEW-iface\.cmake:5 \(target_link_libraries\):
|
||||
The link interface of target "iface" contains:
|
||||
|
||||
External::Library
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
CMake Error at CMP0028-NEW.cmake:4 \(add_library\):
|
||||
Target "foo" links to target "External::Library" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
CMake Error at CMP0028-NEW\.cmake:5 \(target_link_libraries\):
|
||||
Target "foo" links to:
|
||||
|
||||
External::Library
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
CMake Warning \(dev\) at CMP0028-WARN-iface.cmake:4 \(add_library\):
|
||||
CMake Warning \(dev\) at CMP0028-WARN-iface\.cmake:3 \(target_link_libraries\):
|
||||
Policy CMP0028 is not set: Double colon in target name means ALIAS or
|
||||
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
|
||||
Use the cmake_policy command to set the policy and suppress this warning.
|
||||
|
||||
Target "foo" links to target "External::Library" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
The link interface of target "iface" contains:
|
||||
|
||||
External::Library
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
CMake Warning \(dev\) at CMP0028-WARN.cmake:2 \(add_library\):
|
||||
CMake Warning \(dev\) at CMP0028-WARN\.cmake:3 \(target_link_libraries\):
|
||||
Policy CMP0028 is not set: Double colon in target name means ALIAS or
|
||||
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
|
||||
Use the cmake_policy command to set the policy and suppress this warning.
|
||||
|
||||
Target "foo" links to target "External::Library" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
Target "foo" links to:
|
||||
|
||||
External::Library
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
^CMake Error at CMP0079-link-NEW-bogus.cmake:[0-9]+ \(add_executable\):
|
||||
Target "top" links to target "::@\(0xdeadbeef\)" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
^CMake Error at CMP0079-link-NEW-bogus\.cmake:6 \(set_property\):
|
||||
Target "top" links to:
|
||||
|
||||
::@\(0xdeadbeef\)
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
|
||||
@@ -1,13 +1,25 @@
|
||||
^CMake Error at ConfigCase.cmake:[0-9]+ \(add_library\):
|
||||
Target "impl" links to target "config::impl-Debug" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
^CMake Error at ConfigCase\.cmake:4 \(target_link_libraries\):
|
||||
The link interface of target "iface" contains:
|
||||
|
||||
config::iface-Debug
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:[0-9]+ \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
CMake Error at ConfigCase.cmake:[0-9]+ \(add_library\):
|
||||
Target "impl" links to target "config::iface-Debug" but the target was not
|
||||
found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
|
||||
an ALIAS target is missing\?
|
||||
CMake Error at ConfigCase\.cmake:6 \(target_link_libraries\):
|
||||
Target "impl" links to:
|
||||
|
||||
config::impl-Debug
|
||||
|
||||
but the target was not found. Possible reasons include:
|
||||
(
|
||||
\*[^
|
||||
]+)*
|
||||
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:[0-9]+ \(include\)
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
|
||||
Reference in New Issue
Block a user