# ============================================================================ #
# Copyright (c) 2022 - 2026 NVIDIA Corporation & Affiliates.                   #
# All rights reserved.                                                         #
#                                                                              #
# This source code and the accompanying materials are made available under     #
# the terms of the Apache License 2.0 which accompanies this distribution.     #
# ============================================================================ #

# LLVM-dependent library: YAML serialization and runtime argument processing.
add_library(CUDAQTargetConfigYaml
  TargetConfigYaml.cpp
)
target_link_libraries(CUDAQTargetConfigYaml PUBLIC CUDAQTargetConfig cudaqMLIR)
target_compile_options(CUDAQTargetConfigYaml PRIVATE "-fexceptions" "-frtti")
