Apple support for build system
This commit is contained in:
		
							parent
							
								
									f24d97b510
								
							
						
					
					
						commit
						f70a93cd82
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -161,9 +161,12 @@ add_library (mist
 | 
			
		|||
  ${libHeaders}
 | 
			
		||||
  ${libSources} 
 | 
			
		||||
)
 | 
			
		||||
if (NOT APPLE)
 | 
			
		||||
  set (LIBRT -lrt)
 | 
			
		||||
endif()
 | 
			
		||||
target_link_libraries(mist 
 | 
			
		||||
  -lpthread 
 | 
			
		||||
  -lrt
 | 
			
		||||
  ${LIBRT}
 | 
			
		||||
)
 | 
			
		||||
install(
 | 
			
		||||
  FILES ${libHeaders}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue