aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cpuid_check/CMakeLists.txt
blob: bb0d0ecd25f5ce2da411bf41abada58cb9468a20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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.


if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
  include(CMakeLists.darwin-x86_64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
  include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA)
  include(CMakeLists.linux-x86_64.txt)
endif()