diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2022-09-21 20:17:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2022-09-21 20:17:38 +0300 |
commit | e6c9b17192c56494adba359d5e132c431b241191 (patch) | |
tree | 6f2449871a118a0e8919ce842b1174e06cb470ef /contrib/libs/linuxvdso | |
parent | 285021ab1aac39e84b269d9bacd4deee69cf63fc (diff) | |
download | ydb-e6c9b17192c56494adba359d5e132c431b241191.tar.gz |
Ydb stable 22-4-2122.4.21
x-stable-origin-commit: e89099581237299a132feafb5b58af59ebd0468a
Diffstat (limited to 'contrib/libs/linuxvdso')
-rw-r--r-- | contrib/libs/linuxvdso/CMakeLists.linux.txt | 1 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/original/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/contrib/libs/linuxvdso/CMakeLists.linux.txt b/contrib/libs/linuxvdso/CMakeLists.linux.txt index 1a9a6ed70c..c9d397538d 100644 --- a/contrib/libs/linuxvdso/CMakeLists.linux.txt +++ b/contrib/libs/linuxvdso/CMakeLists.linux.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(original) add_library(contrib-libs-linuxvdso) target_link_libraries(contrib-libs-linuxvdso PUBLIC diff --git a/contrib/libs/linuxvdso/CMakeLists.txt b/contrib/libs/linuxvdso/CMakeLists.txt index fc7b1ee73c..dbfe6fa2c4 100644 --- a/contrib/libs/linuxvdso/CMakeLists.txt +++ b/contrib/libs/linuxvdso/CMakeLists.txt @@ -8,6 +8,6 @@ if (APPLE) include(CMakeLists.darwin.txt) -elseif (UNIX AND NOT APPLE) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE) include(CMakeLists.linux.txt) endif() diff --git a/contrib/libs/linuxvdso/original/CMakeLists.txt b/contrib/libs/linuxvdso/original/CMakeLists.txt index e8c98bfd99..97368e369c 100644 --- a/contrib/libs/linuxvdso/original/CMakeLists.txt +++ b/contrib/libs/linuxvdso/original/CMakeLists.txt @@ -6,6 +6,6 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE) include(CMakeLists.linux.txt) endif() |