diff options
author | uzhas <uzhas@ydb.tech> | 2023-12-11 12:48:58 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-12-11 14:21:05 +0300 |
commit | 8c430a3dc91949899bba095f678e93fae92f01c5 (patch) | |
tree | 7dde284ebcbe2b1106f63865c4dc5278880200ca /contrib/restricted/aws/CMakeLists.txt | |
parent | b3588741a100fbdad4500d88711c161aacff9736 (diff) | |
download | ydb-8c430a3dc91949899bba095f678e93fae92f01c5.tar.gz |
windows: fix yqlworker build
Diffstat (limited to 'contrib/restricted/aws/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/aws/CMakeLists.txt | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/contrib/restricted/aws/CMakeLists.txt b/contrib/restricted/aws/CMakeLists.txt index be12f5d90f..d863ebd180 100644 --- a/contrib/restricted/aws/CMakeLists.txt +++ b/contrib/restricted/aws/CMakeLists.txt @@ -6,16 +6,14 @@ # original buildsystem will not be accepted. -add_subdirectory(aws-c-auth) -add_subdirectory(aws-c-cal) -add_subdirectory(aws-c-common) -add_subdirectory(aws-c-compression) -add_subdirectory(aws-c-event-stream) -add_subdirectory(aws-c-http) -add_subdirectory(aws-c-io) -add_subdirectory(aws-c-mqtt) -add_subdirectory(aws-c-s3) -add_subdirectory(aws-c-sdkutils) -add_subdirectory(aws-checksums) -add_subdirectory(aws-crt-cpp) -add_subdirectory(s2n) +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +endif() |