瀏覽代碼

TIFF::TIFF aliases to 3rdParty::TIFF. I think the 3rdParty version is easier for readers to understand

Signed-off-by: AMZN-Gene <[email protected]>
AMZN-Gene 1 年之前
父節點
當前提交
ee114645e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -43,7 +43,7 @@ Instead of using INTERFACE, use whatever library target type has been prebuilt.
 Today's LibTIFF is a proper example of how to declare static library dependencies. The 3rdParty [specifies the path to the library file on disk](https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_LOCATION.html). In this case, 3rdParty::TIFF points to the prebuilt libtiff.a. The 3rdParty, now acting as a wrapper, can tack on dependencies required by the static library.
 
 ```
-# Add the CMake standard TIFF::TIFF library. It is a static library. 
+# Add the CMake standard 3rdParty::TIFF library. It is a static library. 
 add_library(3rdParty::TIFF STATIC IMPORTED GLOBAL) 
 
 set_target_properties(3rdParty::TIFF PROPERTIES IMPORTED_LOCATION "${TIFF_LIBRARY}")