mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Fix cmake error when -DBUILD_SHARED_LIBS=ON
Fixes "CMake Error: TARGETS given no LIBRARY DESTINATION for shared library target" by adding LIBRARY parameter to INSTALL call Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
		
							parent
							
								
									aef0f4d7b8
								
							
						
					
					
						commit
						6d15be9a32
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -97,6 +97,7 @@ set_target_properties(libi2pd PROPERTIES PREFIX "")
 | 
			
		|||
install(TARGETS libi2pd
 | 
			
		||||
  EXPORT libi2pd
 | 
			
		||||
  ARCHIVE DESTINATION lib
 | 
			
		||||
  LIBRARY DESTINATION lib
 | 
			
		||||
  COMPONENT Libraries)
 | 
			
		||||
# TODO Make libi2pd available to 3rd party projects via CMake as imported target
 | 
			
		||||
# FIXME This pulls stdafx
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue