[clang-tools-extra] Fix Default Asset File locator for clang docs (PR #97505)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 14:07:55 PDT 2024


================
@@ -44,7 +42,10 @@ foreach(f ${assets})
   install(FILES ${asset_dir}/${f}
     DESTINATION "${CMAKE_INSTALL_DATADIR}/clang-doc"
     COMPONENT clang-doc)
-  copy_files_to_dst(${asset_dir} ${resource_dir} ${f})
+   foreach(config ${CMAKE_CONFIGURATION_TYPES})
----------------
damyanp wrote:

Do ninja / other single-config build systems still work?  I think that `CMAKE_CONFIGURATION_TYPES` is blank for single configuration systems.

https://github.com/llvm/llvm-project/pull/97505


More information about the cfe-commits mailing list