File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,18 @@ function( NEST_PRINT_CONFIG_SUMMARY )
261
261
message ( "" )
262
262
endif ()
263
263
264
+ if ( NOT HAVE_BOOST )
265
+ message ( "" )
266
+ message ( "ATTENTION!" )
267
+ message ( "You are about to compile NEST without the Boost Library or" )
268
+ message ( "your Boost Library is too old (before v1.70). This means" )
269
+ message ( "that a few neuron models will not be available and that" )
270
+ message ( "overall performance may be reduced." )
271
+ message ( "" )
272
+ message ( "--------------------------------------------------------------------------------" )
273
+ message ( "" )
274
+ endif ()
275
+
264
276
message ( "You can now build and install NEST with" )
265
277
message ( " make" )
266
278
message ( " make install" )
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