diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/restricted/boost/libs/system/CMakeLists.txt | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/boost/libs/system/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/libs/system/CMakeLists.txt | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/contrib/restricted/boost/libs/system/CMakeLists.txt b/contrib/restricted/boost/libs/system/CMakeLists.txt index 916e740bb5..a681d385f3 100644 --- a/contrib/restricted/boost/libs/system/CMakeLists.txt +++ b/contrib/restricted/boost/libs/system/CMakeLists.txt @@ -6,35 +6,8 @@ # original buildsystem will not be accepted. - -add_library(boost-libs-system) -target_compile_options(boost-libs-system PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX -) -target_include_directories(boost-libs-system PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-system PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost -) -target_sources(boost-libs-system PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() |