If I want to link an external library to a module I believe I need to use
target_link_library(…).
However when I try this with the Wrapping example module from the distribution I getan
error when configuring cmake:
target_link_libraries can not be used on an ALIAS target.
The offending line from the module CMake file is
target_link_libraries(Wrapping::Wrappable
PUBLIC
ogdf)
If I understand correctly “Wrapping::Wrappable” is considered an alias
so the question then becomes what do I need to add or change
to get a name that is acceptable as the first argument of target_link_libraries
thanks,
David