mgorny wrote: Moved the dependencies into `add_target_library`, as discussed. Also switched to reusing `DetectTestCompiler` from openmp instead of copying the files here. https://github.com/llvm/llvm-project/pull/118173