mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 05:11:19 +00:00 
			
		
		
		
	Specify language in the wasi socket ext project (#3183)
If the language is not specified, CMake will try to find C++ compiler, even though it is not really needed in that case (as the project is only written in C).
This commit is contained in:
		
							parent
							
								
									c949f3d2aa
								
							
						
					
					
						commit
						bc4f8ab0a5
					
				|  | @ -3,7 +3,7 @@ | |||
| 
 | ||||
| cmake_minimum_required (VERSION 2.8...3.16) | ||||
| 
 | ||||
| project(socket_wasi_ext) | ||||
| project(socket_wasi_ext LANGUAGES C) | ||||
| 
 | ||||
| add_library(${PROJECT_NAME} STATIC ${CMAKE_CURRENT_LIST_DIR}/src/wasi/wasi_socket_ext.c) | ||||
| target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR}/inc/) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marcin Kolny
						Marcin Kolny