link tool against librt on linux/gcc
This commit is contained in:
		
							parent
							
								
									4ec79d61d0
								
							
						
					
					
						commit
						3a1d98648f
					
				| @ -183,4 +183,7 @@ if(WITH_TOOLS) | |||||||
|     target_link_libraries( osrm-io-benchmark ${Boost_LIBRARIES} GITDESCRIPTION) |     target_link_libraries( osrm-io-benchmark ${Boost_LIBRARIES} GITDESCRIPTION) | ||||||
|     add_executable ( osrm-unlock-all Tools/unlock_all_mutexes.cpp ) |     add_executable ( osrm-unlock-all Tools/unlock_all_mutexes.cpp ) | ||||||
|     target_link_libraries( osrm-unlock-all ${Boost_LIBRARIES} GITDESCRIPTION) |     target_link_libraries( osrm-unlock-all ${Boost_LIBRARIES} GITDESCRIPTION) | ||||||
|  |     if(UNIX AND NOT APPLE) | ||||||
|  |         target_link_libraries( osrm-unlock-all rt ) | ||||||
|  |     endif(UNIX AND NOT APPLE) | ||||||
| endif(WITH_TOOLS) | endif(WITH_TOOLS) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user