最終更新:2019-04-09 (火) 15:26:21 (530d)  

target_link_libraries
Top / target_link_libraries

target_link_libraries(<target> ... <item>... ...)

https://cmake.org/cmake/help/latest/command/target_link_libraries.html

Specify libraries or flags to use when linking a given target and/or its dependents. Usage requirements from linked library targets will be propagated. Usage requirements of a target’s dependencies affect compilation of its own sources.

関連