diff options
author | dcherednik <dcherednik@ydb.tech> | 2022-11-22 13:34:53 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2022-11-22 13:34:53 +0300 |
commit | fced20b9af826fdc3ec0886fe1f9740467ffba72 (patch) | |
tree | 6200ffc2db79a07a915454606f78fcd8221780ab /contrib/restricted/boost/graph/CMakeLists.txt | |
parent | 3e5907562bf4dae9cf824bd61032a343e2d294fd (diff) | |
download | ydb-fced20b9af826fdc3ec0886fe1f9740467ffba72.tar.gz |
Build hyperscan udf on x86_64 only.
Diffstat (limited to 'contrib/restricted/boost/graph/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/graph/CMakeLists.txt | 61 |
1 files changed, 5 insertions, 56 deletions
diff --git a/contrib/restricted/boost/graph/CMakeLists.txt b/contrib/restricted/boost/graph/CMakeLists.txt index b2075cc816..79468a5d8d 100644 --- a/contrib/restricted/boost/graph/CMakeLists.txt +++ b/contrib/restricted/boost/graph/CMakeLists.txt @@ -6,59 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-graph) -target_compile_options(restricted-boost-graph PRIVATE - -Wno-everything -) -target_include_directories(restricted-boost-graph PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include -) -target_link_libraries(restricted-boost-graph PUBLIC - contrib-libs-cxxsupp - restricted-boost-algorithm - restricted-boost-any - restricted-boost-array - restricted-boost-assert - restricted-boost-bimap - restricted-boost-bind - restricted-boost-concept_check - restricted-boost-config - restricted-boost-container_hash - restricted-boost-conversion - restricted-boost-core - restricted-boost-detail - restricted-boost-foreach - restricted-boost-function - restricted-boost-integer - restricted-boost-iterator - restricted-boost-lexical_cast - restricted-boost-math - restricted-boost-move - restricted-boost-mpl - restricted-boost-multi_index - restricted-boost-optional - restricted-boost-parameter - restricted-boost-preprocessor - restricted-boost-property_map - restricted-boost-property_tree - restricted-boost-random - restricted-boost-range - restricted-boost-regex - restricted-boost-serialization - restricted-boost-smart_ptr - restricted-boost-spirit - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-tti - restricted-boost-tuple - restricted-boost-type_traits - restricted-boost-typeof - restricted-boost-unordered - restricted-boost-utility - restricted-boost-xpressive -) -target_sources(restricted-boost-graph PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/graphml.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/read_graphviz_new.cpp -) +if (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() |