mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	externals: require cpp-httplib >= 0.14.1 (#7043)
This commit is contained in:
		
							parent
							
								
									053b3618dc
								
							
						
					
					
						commit
						7931aac3b7
					
				
					 2 changed files with 9 additions and 10 deletions
				
			
		
							
								
								
									
										9
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -209,8 +209,13 @@ endif() | |||
| # httplib | ||||
| add_library(httplib INTERFACE) | ||||
| if(USE_SYSTEM_CPP_HTTPLIB) | ||||
|     find_package(CppHttp REQUIRED) | ||||
|     target_link_libraries(httplib INTERFACE cpp-httplib::cpp-httplib) | ||||
|     find_package(CppHttp 0.14.1) | ||||
|     if(CppHttp_FOUND) | ||||
|         target_link_libraries(httplib INTERFACE cpp-httplib::cpp-httplib) | ||||
|     else() | ||||
|         message(STATUS "Cpp-httplib not found or not suitable version! Falling back to bundled...") | ||||
|         target_include_directories(httplib INTERFACE ./httplib) | ||||
|     endif() | ||||
| else() | ||||
|     target_include_directories(httplib INTERFACE ./httplib) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue