File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,9 @@ function( NEST_PROCESS_WITH_GSL )
294
294
set ( GSL_ROOT "${with-gsl}" )
295
295
endif ()
296
296
297
- find_package ( GSL )
297
+ find_package ( GSL 1.11 )
298
298
299
- # only allow GSL 1.11 and later
300
- if ( GSL_FOUND AND ( "${GSL_VERSION} " VERSION_GREATER "1.11"
301
- OR "${GSL_VERSION} " VERSION_EQUAL "1.11" ))
299
+ if ( GSL_FOUND )
302
300
set ( HAVE_GSL ON PARENT_SCOPE )
303
301
304
302
# export found variables to parent scope
@@ -550,7 +548,8 @@ function( NEST_PROCESS_WITH_BOOST )
550
548
set (Boost_USE_RELEASE_LIBS ON ) # only find release libs
551
549
# Needs Boost version >=1.62.0 to use Boost sorting, JUNIT logging
552
550
# Require Boost version >=1.69.0 due to change in Boost sort
553
- find_package ( Boost 1.69.0 )
551
+ # Require Boost version >=1.70.0 due to change in package finding
552
+ find_package ( Boost 1.70 CONFIG )
554
553
if ( Boost_FOUND )
555
554
# export found variables to parent scope
556
555
set ( HAVE_BOOST ON PARENT_SCOPE )
You can’t perform that action at this time.
0 commit comments