Skip to content

Commit d857959

Browse files
committed
Issue warning if NEST is built without Boost
1 parent e06cbf6 commit d857959

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cmake/ConfigureSummary.cmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,18 @@ function( NEST_PRINT_CONFIG_SUMMARY )
261261
message( "" )
262262
endif ()
263263

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+
264276
message( "You can now build and install NEST with" )
265277
message( " make" )
266278
message( " make install" )

0 commit comments

Comments
 (0)