diff --git a/cmake/ToywasmConfig.cmake b/cmake/ToywasmConfig.cmake index a6bdbf34..ead7be15 100644 --- a/cmake/ToywasmConfig.cmake +++ b/cmake/ToywasmConfig.cmake @@ -295,6 +295,8 @@ endif() endif() endif() +message(STATUS "CMAKE_C_COMPILER_ID ${CMAKE_C_COMPILER_ID}") + # GCC doesn't seem to have a way to only allow statement expressions if(CMAKE_C_COMPILER_ID MATCHES "Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wno-gnu-statement-expression")