Commit d1a6cf54 authored by Dominik Bongartz's avatar Dominik Bongartz
Browse files

Suppress warning for gcc as of 11.1

parent 3231f967
......@@ -49,7 +49,7 @@ target_compile_options(clp
PRIVATE
$<$<C_COMPILER_ID:MSVC>: /wd4141;/wd4068;/wd4018;/wd4244;/wd4267;/wd4065;/wd4102;/wd4101;/wd4805>
$<$<C_COMPILER_ID:Intel>: $<$<PLATFORM_ID:Windows>:/Qwd858> $<$<NOT:$<PLATFORM_ID:Windows>>:-wd858>>
$<$<C_COMPILER_ID:GNU>: -Wno-stringop-overflow -Wno-format-overflow>
$<$<C_COMPILER_ID:GNU>: -Wno-stringop-overflow -Wno-format-overflow -Wno-register>
$<$<C_COMPILER_ID:AppleClang>: -Wno-constant-logical-operand -Wno-deprecated-register -Wno-parentheses-equality -Wno-constant-conversion>
$<$<C_COMPILER_ID:Clang>: -Wno-constant-logical-operand -Wno-deprecated-register -Wno-parentheses-equality -Wno-constant-conversion>
)
......@@ -117,4 +117,4 @@ else()
endif()
# clpConfig.cmake needs MANGLINGFILE, therefore it is down here
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/clpConfig.cmake)
\ No newline at end of file
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/clpConfig.cmake)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment