File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ jobs:
161
161
-DE57_BUILD_SHARED=${{ matrix.build_shared }}
162
162
-DE57_BUILD_TEST=${{ matrix.build_test }}
163
163
-DE57_VALIDATION_LEVEL=${{ matrix.validation_level }}
164
+ -DE57FORMAT_WARNING_AS_ERROR:BOOL=ON
164
165
-DE57FORMAT_SANITIZE_ALL:BOOL=ON
165
166
.
166
167
Original file line number Diff line number Diff line change @@ -162,12 +162,6 @@ target_compile_features( ${PROJECT_NAME}
162
162
# Warnings
163
163
include ( CompilerWarnings )
164
164
165
- # Treat warnings as errors if we are building ourself.
166
- if ( E57_BUILDING_SELF )
167
- unset ( ${PROJECT_NAME_UPPERCASE} _WARNING_AS_ERROR CACHE )
168
- set_warning_as_error()
169
- endif ()
170
-
171
165
# Check our validation level
172
166
string ( STRIP "${E57_VALIDATION_LEVEL} " E57_VALIDATION_LEVEL )
173
167
if ( NOT E57_VALIDATION_LEVEL MATCHES "^[0-2]$" )
You can’t perform that action at this time.
0 commit comments