mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Use DYLD_LIBRARY_PATH on apple platforms.
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							97c48e0c34
						
					
				
				
					commit
					a7dc85dd49
				
			@@ -17,6 +17,8 @@ set(tests)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if(WIN32)
 | 
					if(WIN32)
 | 
				
			||||||
  set(dl_paths_variable_name PATH)
 | 
					  set(dl_paths_variable_name PATH)
 | 
				
			||||||
 | 
					elseif(APPLE)
 | 
				
			||||||
 | 
					  set(dl_paths_variable_name DYLD_LIBRARY_PATH)
 | 
				
			||||||
else()
 | 
					else()
 | 
				
			||||||
  set(dl_paths_variable_name LD_LIBRARY_PATH)
 | 
					  set(dl_paths_variable_name LD_LIBRARY_PATH)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user