diff options
Diffstat (limited to 'contrib/restricted/boost/rational/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/rational/CMakeLists.txt | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/contrib/restricted/boost/rational/CMakeLists.txt b/contrib/restricted/boost/rational/CMakeLists.txt index 4c4ddfe8e5..3e0811fb22 100644 --- a/contrib/restricted/boost/rational/CMakeLists.txt +++ b/contrib/restricted/boost/rational/CMakeLists.txt @@ -6,19 +6,10 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-rational INTERFACE) -target_include_directories(restricted-boost-rational INTERFACE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/rational/include -) -target_link_libraries(restricted-boost-rational INTERFACE - contrib-libs-cxxsupp - restricted-boost-assert - restricted-boost-config - restricted-boost-core - restricted-boost-integer - 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() |