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

CMake find_package support #23

Closed joseasoler closed 3 years ago

joseasoler commented 3 years ago

This pull request allows CMake to find an installed trng4 library by using the find_package function. This makes integrating trng4 as a dependency on CMake projects easy and straightforward. After successfully executing find_package(trng4), it is also possible to obtain the found version by consulting the contents of the trng4_VERSION variable.

rabauke commented 3 years ago

Thanks.