commit 73bebce29b8e9867e4f2eaf8b25b9b6ae854b76b
parent 87e9ef278bddde5c2d485535ee5c0c1fa8764ac6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 19 Oct 2021 15:52:53 +0200
Set the required version of StarSP to 0.12
Older versions do not compile with gcc 11
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -47,7 +47,7 @@ find_package(RSys 0.10 REQUIRED)
find_package(SolAnim 0.2.3 REQUIRED)
find_package(SolSolver 0.8 REQUIRED)
find_package(Star3DUT 0.3.1 REQUIRED)
-find_package(StarSP 0.8.1 REQUIRED)
+find_package(StarSP 0.12 REQUIRED)
find_package(StarSTL 0.3.3 REQUIRED)
if(MSVC)
diff --git a/src/solstice_solve.c b/src/solstice_solve.c
@@ -542,7 +542,7 @@ solstice_solve(struct solstice* solstice)
res_T res = RES_OK;
ASSERT(solstice);
- res = ssp_rng_create(solstice->allocator, &ssp_rng_threefry, &rng);
+ res = ssp_rng_create(solstice->allocator, SSP_RNG_THREEFRY, &rng);
if(res != RES_OK) {
fprintf(stderr, "Could not create the Random Number Generator .\n");
goto error;