> The header file is already #included in one of the source files. What I > don't know is how to link it. > Can I do it only with target_link_libraries ( ) or how? > You do not link header files. You link source files. Why are you not specifying your source files on the target_link_libararies() line? John