瀏覽代碼

target_link_libraries(): Fix code snippet in documentation.

The porting script seems to have made a mistake here.
Stephen Kelly 12 年之前
父節點
當前提交
620b0e92fc
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Help/command/target_link_libraries.rst

+ 2 - 1
Help/command/target_link_libraries.rst

@@ -59,10 +59,11 @@ for <target>:
 If an <item> is a library in a Mac OX framework, the Headers directory
 of the framework will also be processed as a "usage requirement".
 This has the same effect as passing the framework directory as an
-include directory.  target_link_libraries(<target>
+include directory.
 
 ::
 
+  target_link_libraries(<target>
                       <PRIVATE|PUBLIC|INTERFACE> <lib> ...
                       [<PRIVATE|PUBLIC|INTERFACE> <lib> ... ] ...])