Skip to content

Commit 16f1b39

Browse files
authored
quality: silence warning emitted from oatpp. (#330)
Signed-off-by: Marius Behrens <marius.behrens@synopsys.com>
1 parent b7b0035 commit 16f1b39

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ThirdParty/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function(include_oatpp)
182182
endif ()
183183

184184
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
185-
target_compile_options(oatpp PRIVATE "-Wno-useless-cast")
185+
target_compile_options(oatpp PRIVATE "-Wno-useless-cast" "-Wno-conversion")
186186
endif ()
187187

188188
set_property(TARGET oatpp PROPERTY CXX_VISIBILITY_PRESET hidden)
@@ -211,5 +211,3 @@ function(silkit_add_third_party_packages)
211211
include_oatpp()
212212
endif ()
213213
endfunction()
214-
215-

0 commit comments

Comments
 (0)