mirror of
				https://github.com/Zelda64Recomp/Zelda64Recomp.git
				synced 2025-10-30 08:03:03 +00:00 
			
		
		
		
	In the end, remove X11 detection and linking.
This commit is contained in:
		
							parent
							
								
									1d1a533eb5
								
							
						
					
					
						commit
						774942f811
					
				
					 1 changed files with 0 additions and 13 deletions
				
			
		|  | @ -309,9 +309,6 @@ endif() | |||
| 
 | ||||
| if (CMAKE_SYSTEM_NAME MATCHES "Linux") | ||||
|     find_package(SDL2 REQUIRED) | ||||
|     if (NOT RT64_SDL_WINDOW_VULKAN) | ||||
|         find_package(X11 REQUIRED) | ||||
|     endif() | ||||
|     add_compile_definitions("RT64_SDL_WINDOW_VULKAN") | ||||
| 
 | ||||
|     # Generate icon_bytes.c from the app icon PNG. | ||||
|  | @ -326,16 +323,6 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") | |||
| 
 | ||||
|     target_include_directories(Zelda64Recompiled PRIVATE ${SDL2_INCLUDE_DIRS}) | ||||
| 
 | ||||
|     if (NOT RT64_SDL_WINDOW_VULKAN) | ||||
|         message(STATUS "X11_FOUND = ${X11_FOUND}") | ||||
|         message(STATUS "X11_Xrandr_FOUND = ${X11_Xrandr_FOUND}") | ||||
|         message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}") | ||||
|         message(STATUS "X11_LIBRARIES = ${X11_LIBRARIES}") | ||||
| 
 | ||||
|         target_include_directories(Zelda64Recompiled PRIVATE ${X11_INCLUDE_DIR} ${X11_Xrandr_INCLUDE_PATH}) | ||||
|         target_link_libraries(Zelda64Recompiled PRIVATE ${X11_LIBRARIES} ${X11_Xrandr_LIB}) | ||||
|     endif() | ||||
| 
 | ||||
|     find_package(Freetype REQUIRED) | ||||
| 
 | ||||
|     message(STATUS "FREETYPE_FOUND = ${FREETYPE_FOUND}") | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 vanfanel
						vanfanel