diff options
Diffstat (limited to 'contrib/restricted/boost/random/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/random/CMakeLists.txt | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/contrib/restricted/boost/random/CMakeLists.txt b/contrib/restricted/boost/random/CMakeLists.txt index ef236327eb..3e0811fb22 100644 --- a/contrib/restricted/boost/random/CMakeLists.txt +++ b/contrib/restricted/boost/random/CMakeLists.txt @@ -6,28 +6,10 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-random) -target_include_directories(restricted-boost-random PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include -) -target_link_libraries(restricted-boost-random PUBLIC - contrib-libs-cxxsupp - yutil - restricted-boost-assert - restricted-boost-config - restricted-boost-core - restricted-boost-integer - restricted-boost-io - restricted-boost-math - restricted-boost-mpl - restricted-boost-range - restricted-boost-static_assert - restricted-boost-system - restricted-boost-throw_exception - restricted-boost-type_traits - restricted-boost-utility -) -target_sources(restricted-boost-random PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/src/random_device.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() |