CMake Error at CMakeLists.txt:36 (target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "my_lib". All uses of target_link_libraries with a
target must be either all-keyword or all-plain.
The uses of the keyword signature are here:
* CMakeLists.txt:28 (target_link_libraries)
Is there a way to force the usage of the keywords
PRIVATE|PUBLIC|INTERFACE
in commands liketarget_link_libraries
?I want to prevent mixes, and want to enforce the usage of said keywords, so things like this will not happen: