File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ set(assets
25
25
)
26
26
27
27
set (asset_dir "${CMAKE_CURRENT_SOURCE_DIR} /../assets" )
28
- set (resource_dir "${CMAKE_BINARY_DIR} /share/clang" )
28
+ set (resource_dir "${CMAKE_BINARY_DIR} /share/clang-doc " )
29
29
set (out_files)
30
30
31
31
function (copy_files_to_dst src_dir dst_dir file)
@@ -42,7 +42,7 @@ endfunction(copy_files_to_dst)
42
42
43
43
foreach (f ${assets} )
44
44
install (FILES ${asset_dir} /${f}
45
- DESTINATION "${CMAKE_INSTALL_DATADIR} /clang"
45
+ DESTINATION "${CMAKE_INSTALL_DATADIR} /clang-doc "
46
46
COMPONENT clang-doc )
47
47
copy_files_to_dst(${asset_dir} ${resource_dir} ${f} )
48
48
endforeach (f)
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ Example usage for a project using a compile commands database:
188
188
llvm::sys::path::native (ClangDocPath, NativeClangDocPath);
189
189
llvm::SmallString<128 > AssetsPath;
190
190
AssetsPath = llvm::sys::path::parent_path (NativeClangDocPath);
191
- llvm::sys::path::append (AssetsPath, " .." , " share" , " clang" );
191
+ llvm::sys::path::append (AssetsPath, " .." , " share" , " clang-doc " );
192
192
llvm::SmallString<128 > DefaultStylesheet;
193
193
llvm::sys::path::native (AssetsPath, DefaultStylesheet);
194
194
llvm::sys::path::append (DefaultStylesheet,
You can’t perform that action at this time.
0 commit comments