mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	CMakeLists.txt: use libfmt from thirdparty/fmt
Now compiles on Ubuntu 22.04, which only has libfmt 8. I don't know which exact version of libfmt we need but the one in thirdparty works. This version of libfmt is header-only.
This commit is contained in:
		
							parent
							
								
									077f12344e
								
							
						
					
					
						commit
						3eba2cf60d
					
				
					 3 changed files with 5 additions and 2 deletions
				
			
		|  | @ -95,7 +95,8 @@ find_package(ZLIB REQUIRED) | |||
| find_package(PNG REQUIRED) | ||||
| find_package(SDL2 CONFIG REQUIRED) | ||||
| find_package(CURL REQUIRED) | ||||
| find_package(FMT CONFIG REQUIRED) | ||||
| # Use the one in thirdparty/fmt to guarantee a minimum version | ||||
| #find_package(FMT CONFIG REQUIRED) | ||||
| 
 | ||||
| # libgme defaults to "Nuked" YM2612 emulator, which is | ||||
| # very SLOW. The system library probably uses the | ||||
|  |  | |||
|  | @ -268,7 +268,7 @@ target_link_libraries(SRB2SDL2 PRIVATE glm::glm) | |||
| target_link_libraries(SRB2SDL2 PRIVATE Stb) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE xmp-lite::xmp-lite) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE glad::glad) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE fmt::fmt) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE fmt::fmt-header-only) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE imgui::imgui) | ||||
| target_link_libraries(SRB2SDL2 PRIVATE Tracy::TracyClient) | ||||
| if(SRB2_CONFIG_ENABLE_WEBM_MOVIES) | ||||
|  |  | |||
							
								
								
									
										2
									
								
								thirdparty/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								thirdparty/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -11,3 +11,5 @@ add_subdirectory(glad) | |||
| add_subdirectory(tracy) | ||||
| 
 | ||||
| add_subdirectory(libwebm) | ||||
| 
 | ||||
| add_subdirectory(fmt) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James R
						James R