CMake/Tests/RunCMake/CMP0028/CMP0028-WARN.cmake
Stephen Kelly f063c45589 Consider targets with double colons to be IMPORTED or ALIAS targets.
Introduce a policy to control the behavior.

The AliasTargets unit test already tests that using a
double-semicolon in the name is not an error. Change the ExportImport
test to use a namespace with a double-semicolon too.
2013-10-21 15:56:31 +02:00

4 lines
81 B
CMake

add_library(foo empty.cpp)
target_link_libraries(foo PRIVATE External::Library)