CMake/Tests/RunCMake/CMP0028/CMP0028-OLD.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

6 lines
112 B
CMake

cmake_policy(SET CMP0028 OLD)
add_library(foo empty.cpp)
target_link_libraries(foo PRIVATE External::Library)