mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	web_service: Add CMake flag to enable.
This commit is contained in:
		
							parent
							
								
									8af3ebb149
								
							
						
					
					
						commit
						33b012e86b
					
				
					 5 changed files with 32 additions and 14 deletions
				
			
		
							
								
								
									
										22
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								externals/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -4,12 +4,6 @@ | |||
| add_library(catch-single-include INTERFACE) | ||||
| target_include_directories(catch-single-include INTERFACE catch/single_include) | ||||
| 
 | ||||
| # CPR | ||||
| option(BUILD_TESTING OFF) | ||||
| option(BUILD_CPR_TESTS OFF) | ||||
| add_subdirectory(cpr) | ||||
| target_include_directories(cpr INTERFACE ./cpr/include) | ||||
| 
 | ||||
| # Crypto++ | ||||
| add_subdirectory(cryptopp) | ||||
| 
 | ||||
|  | @ -34,10 +28,6 @@ add_subdirectory(glad) | |||
| # inih | ||||
| add_subdirectory(inih) | ||||
| 
 | ||||
| # JSON | ||||
| add_library(json-headers INTERFACE) | ||||
| target_include_directories(json-headers INTERFACE ./json/src) | ||||
| 
 | ||||
| # MicroProfile | ||||
| add_library(microprofile INTERFACE) | ||||
| target_include_directories(microprofile INTERFACE ./microprofile) | ||||
|  | @ -62,3 +52,15 @@ endif() | |||
| # ENet | ||||
| add_subdirectory(enet) | ||||
| target_include_directories(enet INTERFACE ./enet/include) | ||||
| 
 | ||||
| if (ENABLE_WEB_SERVICE) | ||||
|     # CPR | ||||
|     option(BUILD_TESTING OFF) | ||||
|     option(BUILD_CPR_TESTS OFF) | ||||
|     add_subdirectory(cpr) | ||||
|     target_include_directories(cpr INTERFACE ./cpr/include) | ||||
| 
 | ||||
|     # JSON | ||||
|     add_library(json-headers INTERFACE) | ||||
|     target_include_directories(json-headers INTERFACE ./json/src) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue