mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	support linux build for wxWidgets
Change-Id: I7d4e84c4e82371c6e688b607ac0658c6319d1216 (cherry picked from commit 6ff1613c3997628ea932d4956f874c2356da0056)
This commit is contained in:
		
							parent
							
								
									3765c6aed4
								
							
						
					
					
						commit
						cc1a6ee635
					
				
					 3 changed files with 23 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -42,5 +42,10 @@ set(VERSION_OK FALSE)
 | 
			
		|||
endif ()
 | 
			
		||||
endif ()
 | 
			
		||||
endif ()
 | 
			
		||||
# Check for GDK Wayland support
 | 
			
		||||
include(CheckSymbolExists)
 | 
			
		||||
set(CMAKE_REQUIRED_INCLUDES ${GTK3_INCLUDE_DIRS})
 | 
			
		||||
check_symbol_exists(GDK_WINDOWING_WAYLAND "gdk/gdk.h" wxHAVE_GDK_WAYLAND)
 | 
			
		||||
check_symbol_exists(GDK_WINDOWING_X11 "gdk/gdk.h" wxHAVE_GDK_X11)
 | 
			
		||||
include(FindPackageHandleStandardArgs)
 | 
			
		||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK3 DEFAULT_MSG GTK3_INCLUDE_DIRS GTK3_LIBRARIES VERSION_OK)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue