Creation of alias with name of another target should be an error
This code should error when attempting to create the ALIAS
, but it does not:
add_library(Bar::foo INTERFACE IMPORTED)
add_library(foo SHARED somefile.cpp)
add_library(Bar::foo ALIAS foo)