mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	pass STATIC definition for xcb plugin qt import
This commit is contained in:
		
							parent
							
								
									1337091a72
								
							
						
					
					
						commit
						1337baf832
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -134,6 +134,10 @@ if(HAVE_SYS_PRCTL_H)
 | 
				
			||||||
    target_compile_definitions(feather PRIVATE HAVE_SYS_PRCTL_H=1)
 | 
					    target_compile_definitions(feather PRIVATE HAVE_SYS_PRCTL_H=1)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if(STATIC)
 | 
				
			||||||
 | 
					    target_compile_definitions(feather PRIVATE STATIC=1)
 | 
				
			||||||
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
					if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
				
			||||||
    target_compile_definitions(feather PRIVATE QT_NO_DEBUG=1)
 | 
					    target_compile_definitions(feather PRIVATE QT_NO_DEBUG=1)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,7 +14,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <QtPlugin>
 | 
					#include <QtPlugin>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(Q_OS_LINUX)
 | 
					#if defined(Q_OS_LINUX) && defined(STATIC)
 | 
				
			||||||
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
 | 
					Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue