vcpkg/ports/libe57format/prevent_warning_as_errors.diff
2023-02-27 11:50:12 -08:00

14 lines
406 B
Diff

diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake
index 9a9e507..eb1a1c5 100644
--- a/cmake/CompilerWarnings.cmake
+++ b/cmake/CompilerWarnings.cmake
@@ -86,6 +86,8 @@ endif()
# Treat warnings as errors
function( set_warning_as_error )
+ return()
+
message( STATUS "[${PROJECT_NAME}] Treating warnings as errors")
if ( CMAKE_VERSION VERSION_GREATER_EQUAL "3.24" )