mirror of
				https://github.com/thunderbrewhq/thunderbrew
				synced 2025-10-27 22:36:05 +03:00 
			
		
		
		
	 706c8903a1
			
		
	
	
		706c8903a1
		
			
		
	
	
	
	
		
			
			* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
		
			
				
	
	
		
			20 lines
		
	
	
		
			666 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			666 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # SDL3 CMake configuration file:
 | |
| # This file is meant to be placed in a cmake subfolder of SDL3-devel-3.x.y-mingw
 | |
| 
 | |
| if(CMAKE_SIZEOF_VOID_P EQUAL 4)
 | |
|     set(sdl3_config_path "${CMAKE_CURRENT_LIST_DIR}/../i686-w64-mingw32/lib/cmake/SDL3/SDL3Config.cmake")
 | |
| elseif(CMAKE_SIZEOF_VOID_P EQUAL 8)
 | |
|     set(sdl3_config_path "${CMAKE_CURRENT_LIST_DIR}/../x86_64-w64-mingw32/lib/cmake/SDL3/SDL3Config.cmake")
 | |
| else()
 | |
|     set(SDL3_FOUND FALSE)
 | |
|     return()
 | |
| endif()
 | |
| 
 | |
| if(NOT EXISTS "${sdl3_config_path}")
 | |
|     message(WARNING "${sdl3_config_path} does not exist: MinGW development package is corrupted")
 | |
|     set(SDL3_FOUND FALSE)
 | |
|     return()
 | |
| endif()
 | |
| 
 | |
| include("${sdl3_config_path}")
 |