[CMake] Target Link Library

Nils Gladitz nilsgladitz at gmail.com
Wed Mar 12 05:50:50 EDT 2014


On 12.03.2014 10:41, Nils Gladitz wrote:
> If you created the target with add_library(mylibrary ...)
> target_link_library(MyExe mylibrary) should work.

Sorry, I didn't realize I copied your incorrectly named 
target_link_library() call ... the actual command should be 
target_link_libraries().

Nils


More information about the CMake mailing list