rabauke / trng4

state of the art C++ pseudo-random number generator library for sequential and parallel Monte Carlo simulations
https://www.numbercrunch.de/trng/
BSD 3-Clause "New" or "Revised" License
120 stars 21 forks source link

Cannot build with old version of Boost #27

Closed tepperly closed 2 years ago

tepperly commented 2 years ago

Based on what I can tell from searching the Boost website, BOOST_TEST was introduced in version 1.59.0, hence it would be beneficial to have CMake only accept version 1.59.0 or later. I am working on a system with 1.53 installed, and trng4 fails to build.

Here is a proposed fix. trng4_boost_version_patch.txt

rabauke commented 2 years ago

Thanks for the report. The current master branch no longer uses the Boost.test framework. TRNG switched to Catch2. There is nothing to fix.