diff options
Diffstat (limited to 'contrib/restricted/boost/optional/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/optional/CMakeLists.txt | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/contrib/restricted/boost/optional/CMakeLists.txt b/contrib/restricted/boost/optional/CMakeLists.txt index 8d4a6e6bf6..3e0811fb22 100644 --- a/contrib/restricted/boost/optional/CMakeLists.txt +++ b/contrib/restricted/boost/optional/CMakeLists.txt @@ -6,22 +6,10 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-optional INTERFACE) -target_include_directories(restricted-boost-optional INTERFACE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/optional/include -) -target_link_libraries(restricted-boost-optional INTERFACE - contrib-libs-cxxsupp - yutil - restricted-boost-assert - restricted-boost-config - restricted-boost-core - restricted-boost-detail - restricted-boost-move - restricted-boost-mpl - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-type_traits - restricted-boost-utility -) +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() |