File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ set(assets
2525)
2626
2727set (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 " )
2929set (out_files)
3030
3131function (copy_files_to_dst src_dir dst_dir file)
@@ -42,7 +42,7 @@ endfunction(copy_files_to_dst)
4242
4343foreach (f ${assets} )
4444 install (FILES ${asset_dir} /${f}
45- DESTINATION "${CMAKE_INSTALL_DATADIR} /clang"
45+ DESTINATION "${CMAKE_INSTALL_DATADIR} /clang-doc "
4646 COMPONENT clang-doc )
4747 copy_files_to_dst(${asset_dir} ${resource_dir} ${f} )
4848endforeach (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:
188188 llvm::sys::path::native (ClangDocPath, NativeClangDocPath);
189189 llvm::SmallString<128 > AssetsPath;
190190 AssetsPath = llvm::sys::path::parent_path (NativeClangDocPath);
191- llvm::sys::path::append (AssetsPath, " .." , " share" , " clang" );
191+ llvm::sys::path::append (AssetsPath, " .." , " share" , " clang-doc " );
192192 llvm::SmallString<128 > DefaultStylesheet;
193193 llvm::sys::path::native (AssetsPath, DefaultStylesheet);
194194 llvm::sys::path::append (DefaultStylesheet,
You can’t perform that action at this time.
0 commit comments