From bc4f8ab0a56db0a4b674a9bdf3c37d9e38e71a93 Mon Sep 17 00:00:00 2001 From: Marcin Kolny Date: Wed, 28 Feb 2024 11:35:00 +0000 Subject: [PATCH] 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). --- core/iwasm/libraries/lib-socket/lib_socket_wasi.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/iwasm/libraries/lib-socket/lib_socket_wasi.cmake b/core/iwasm/libraries/lib-socket/lib_socket_wasi.cmake index 209b0c4c..8ddddffe 100644 --- a/core/iwasm/libraries/lib-socket/lib_socket_wasi.cmake +++ b/core/iwasm/libraries/lib-socket/lib_socket_wasi.cmake @@ -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/)