================
@@ -0,0 +1,20 @@
+set(LLVM_LINK_COMPONENTS
+ Support
+ )
+
+get_filename_component(CLANG_DOC_SOURCE_DIR
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-doc REALPATH)
----------------
petrhosek wrote:
`get_filename_component` is deprecated, `file(REAL_PATH)` is the replacement. I
agree with @evelez7 though that using relative paths seems unusual so perhaps
this shouldn't be needed at all.
```suggestion
file(REAL_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../clang-doc"
CLANG_DOC_SOURCE_DIR)
```
https://github.com/llvm/llvm-project/pull/182620
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits