Skip to content

Commit 5804207

Browse files
committed
[CMake] Disable pedantic mode and disable cast qualifier warning
1 parent 7f005d9 commit 5804207

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/helpers.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,8 @@ function(add_umf_target_compile_options name)
232232
PRIVATE -fPIC
233233
-Wall
234234
-Wextra
235-
-Wpedantic
236235
-Wformat-security
237-
-Wcast-qual
236+
-Wno-cast-qual
238237
$<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=auto>)
239238
if(CMAKE_BUILD_TYPE STREQUAL "Release")
240239
target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)

0 commit comments

Comments
 (0)