mirror of
https://github.com/boostorg/odeint.git
synced 2026-01-19 04:22:12 +00:00
Merge pull request #83 from boostorg/adaptors
Add `BOOST_NUMERIC_ODEINT_NO_ADAPTORS` option to CML
This commit is contained in:
@@ -12,26 +12,53 @@ add_library(Boost::numeric_odeint ALIAS boost_numeric_odeint)
|
||||
|
||||
target_include_directories(boost_numeric_odeint INTERFACE include)
|
||||
|
||||
target_link_libraries(boost_numeric_odeint
|
||||
INTERFACE
|
||||
Boost::assert
|
||||
Boost::compute
|
||||
Boost::config
|
||||
Boost::core
|
||||
Boost::fusion
|
||||
Boost::iterator
|
||||
Boost::math
|
||||
Boost::mpi
|
||||
Boost::mpl
|
||||
Boost::multi_array
|
||||
Boost::numeric_ublas
|
||||
Boost::preprocessor
|
||||
Boost::range
|
||||
Boost::throw_exception
|
||||
Boost::type_traits
|
||||
Boost::units
|
||||
Boost::utility
|
||||
)
|
||||
if(BOOST_NUMERIC_ODEINT_NO_ADAPTORS)
|
||||
|
||||
target_link_libraries(boost_numeric_odeint
|
||||
INTERFACE
|
||||
Boost::assert
|
||||
Boost::config
|
||||
Boost::core
|
||||
Boost::fusion
|
||||
Boost::iterator
|
||||
Boost::math
|
||||
Boost::mpl
|
||||
Boost::multi_array
|
||||
Boost::numeric_ublas
|
||||
Boost::preprocessor
|
||||
Boost::range
|
||||
Boost::static_assert
|
||||
Boost::throw_exception
|
||||
Boost::type_traits
|
||||
Boost::units
|
||||
Boost::utility
|
||||
)
|
||||
|
||||
else()
|
||||
|
||||
target_link_libraries(boost_numeric_odeint
|
||||
INTERFACE
|
||||
Boost::assert
|
||||
Boost::compute
|
||||
Boost::config
|
||||
Boost::core
|
||||
Boost::fusion
|
||||
Boost::iterator
|
||||
Boost::math
|
||||
Boost::mpi
|
||||
Boost::mpl
|
||||
Boost::multi_array
|
||||
Boost::numeric_ublas
|
||||
Boost::preprocessor
|
||||
Boost::range
|
||||
Boost::static_assert
|
||||
Boost::throw_exception
|
||||
Boost::type_traits
|
||||
Boost::units
|
||||
Boost::utility
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user