Skip to content

Commit

Permalink
Build fix for gcc10 on RHEL8
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jan 11, 2024
1 parent 6112645 commit 6c82a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-but-set-variable -Wno-delete-abstract-non-virtual-dtor -Wno-undefined-var-template -Wno-invalid-source-encoding -Wno-enum-compare -Wno-call-to-pure-virtual-from-ctor-dtor -Wno-unused-variable -Wno-unused-private-field -Wno-unused-lambda-capture -Wno-delete-non-abstract-non-virtual-dtor -Wno-braced-scalar-init -Wno-tautological-constant-out-of-range-compare -Wmissing-braces")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-restrict" )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-restric -Wno-deprecated-copy" )
endif()
endif()

Expand Down

0 comments on commit 6c82a00

Please sign in to comment.