diff options
Diffstat (limited to 'library/cpp/streams/brotli/CMakeLists.txt')
-rw-r--r-- | library/cpp/streams/brotli/CMakeLists.txt | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/library/cpp/streams/brotli/CMakeLists.txt b/library/cpp/streams/brotli/CMakeLists.txt index cede8674f9..3e0811fb22 100644 --- a/library/cpp/streams/brotli/CMakeLists.txt +++ b/library/cpp/streams/brotli/CMakeLists.txt @@ -6,14 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-streams-brotli) -target_link_libraries(cpp-streams-brotli PUBLIC - contrib-libs-cxxsupp - yutil - libs-brotli-enc - libs-brotli-dec -) -target_sources(cpp-streams-brotli PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |