Link with -lrt when using the old header-only boost timer library (boost < 1.48)
							parent
							
								
									6df79b8dac
								
							
						
					
					
						commit
						dec9dbbe60
					
				|  | @ -132,6 +132,7 @@ else() | |||
|     if(Boost_TIMER_LIBRARY) | ||||
|       list(APPEND GTSAM_BOOST_LIBRARIES ${Boost_TIMER_LIBRARY} ${Boost_CHRONO_LIBRARY}) | ||||
|     else() | ||||
|       list(APPEND GTSAM_BOOST_LIBRARIES rt) # When using the header-only boost timer library, need -lrt | ||||
|       message("WARNING:  GTSAM timing instrumentation will use the older, less accurate, Boost timer library because boost older than 1.48 was found.") | ||||
|     endif() | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue