fix building dll definition
This commit is contained in:
		
							parent
							
								
									68facdb935
								
							
						
					
					
						commit
						2398e98f66
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -39,7 +39,7 @@ macro(target)
 | 
			
		|||
 | 
			
		||||
  # Causes the visibility macros to use dllexport rather than dllimport,
 | 
			
		||||
  # which is appropriate when building the dll but not consuming it.
 | 
			
		||||
  target_compile_definitions(${PROJECT_NAME}${target_suffix} PRIVATE "RCL_BUILDING_LIBRARY")
 | 
			
		||||
  target_compile_definitions(${PROJECT_NAME}${target_suffix} PRIVATE "RCL_BUILDING_DLL")
 | 
			
		||||
 | 
			
		||||
  install(
 | 
			
		||||
    TARGETS ${PROJECT_NAME}${target_suffix}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue