Skip to content

Commit

Permalink
Issue warning if NEST is built without Boost
Browse files Browse the repository at this point in the history
  • Loading branch information
heplesser committed Aug 8, 2024
1 parent e06cbf6 commit d857959
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmake/ConfigureSummary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,18 @@ function( NEST_PRINT_CONFIG_SUMMARY )
message( "" )
endif ()

if ( NOT HAVE_BOOST )
message( "" )
message( "ATTENTION!" )
message( "You are about to compile NEST without the Boost Library or" )
message( "your Boost Library is too old (before v1.70). This means" )
message( "that a few neuron models will not be available and that" )
message( "overall performance may be reduced." )
message( "" )
message( "--------------------------------------------------------------------------------" )
message( "" )
endif ()

message( "You can now build and install NEST with" )
message( " make" )
message( " make install" )
Expand Down

0 comments on commit d857959

Please sign in to comment.