I have a project with the following file structure:
project | |-------> lib1 | |----> lib1.h | |-------> lib2 | |---->
I've used an empty _only_for_compiling_the_lib.cpp file as the simplest and fastest workaround, but clearly the above solution is strongly advised.
_only_for_compiling_the_lib.cpp
I simply wasn't aware of INTERFACE keyword.
INTERFACE