
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


find_package(CUDAToolkit REQUIRED)

add_library(libs-gpu_config-maybe_have_cuda)
target_link_libraries(libs-gpu_config-maybe_have_cuda PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  catboost-libs-logging
  libs-gpu_config-interface
  CUDA::toolkit
)
target_sources(libs-gpu_config-maybe_have_cuda PRIVATE
  ${CMAKE_SOURCE_DIR}/catboost/libs/gpu_config/maybe_have_cuda/get_gpu_device_count_cuda.cpp
)
