> 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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
