From b9c70d7c430d7a2974b2f2e887901eb26a9f56cc Mon Sep 17 00:00:00 2001 From: Syed Imtiyaz Ali Date: Tue, 16 Jan 2024 17:50:41 +0530 Subject: [PATCH] Changes Done --- cmake/Warnings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Warnings.cmake b/cmake/Warnings.cmake index afc47ebfc..afa97090d 100644 --- a/cmake/Warnings.cmake +++ b/cmake/Warnings.cmake @@ -40,7 +40,7 @@ if(WARNINGS_ENABLED) # Test against a valid compiler if("${CMAKE_C_COMPILER_ID}" STREQUAL "" AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "") message(WARNING "Unknown compiler warning level support (skipping warning module)") - set(WARNINGS_AVAILABLE 0) + set(WARNINGS_AVAILABLE NULL) return() endif()