mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	externals: allow system cpp-cttplib to be used with both meson and cpp-httplib builds (#7062)
Co-authored-by: Violet Purcell <vimproved@inventati.org>
This commit is contained in:
		
							parent
							
								
									897d1fa957
								
							
						
					
					
						commit
						775a25b492
					
				
					 2 changed files with 33 additions and 16 deletions
				
			
		
							
								
								
									
										2
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -230,7 +230,7 @@ add_library(httplib INTERFACE) | |||
| if(USE_SYSTEM_CPP_HTTPLIB) | ||||
|     find_package(CppHttp 0.14.1) | ||||
|     if(CppHttp_FOUND) | ||||
|         target_link_libraries(httplib SYSTEM INTERFACE cpp-httplib::cpp-httplib) | ||||
|         target_link_libraries(httplib INTERFACE httplib::httplib) | ||||
|     else() | ||||
|         message(STATUS "Cpp-httplib not found or not suitable version! Falling back to bundled...") | ||||
|         target_include_directories(httplib SYSTEM INTERFACE ./httplib) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue