mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	 Paolo Bosetti
					Paolo Bosetti
				
			
				
					committed by
					
						 ArthurSonzogni
						ArthurSonzogni
					
				
			
			
				
	
			
			
			 ArthurSonzogni
						ArthurSonzogni
					
				
			
						parent
						
							b05ff6a518
						
					
				
				
					commit
					f35dc7b4c9
				
			| @@ -49,6 +49,12 @@ function(ftxui_set_options library) | |||||||
|     target_compile_options(${library} PUBLIC "/utf-8") |     target_compile_options(${library} PUBLIC "/utf-8") | ||||||
|   endif() |   endif() | ||||||
|  |  | ||||||
|  |   # CMake does automatically add -fPIC when linking a shared library, but it | ||||||
|  |   # does not add it when linking a static library. This is a problem when the  | ||||||
|  |   # static library is later linked into a shared library.  | ||||||
|  |   # Doing it helps some users. | ||||||
|  |   set_property(TARGET ${library} PROPERTY POSITION_INDEPENDENT_CODE ON) | ||||||
|  |  | ||||||
|   # Add as many warning as possible: |   # Add as many warning as possible: | ||||||
|   if (WIN32) |   if (WIN32) | ||||||
|     if (MSVC) |     if (MSVC) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user