From 1d5a62642624b7515a449d6a6866d8b17756f45a Mon Sep 17 00:00:00 2001 From: Marius Behrens Date: Thu, 21 May 2026 10:15:07 +0200 Subject: [PATCH] Prevent `-Wconversion` warnings from oatpp. Signed-off-by: Marius Behrens --- ThirdParty/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt index c48dbb4a1..0ea48aec0 100644 --- a/ThirdParty/CMakeLists.txt +++ b/ThirdParty/CMakeLists.txt @@ -182,7 +182,7 @@ function(include_oatpp) endif () if (CMAKE_CXX_COMPILER_ID MATCHES GNU) - target_compile_options(oatpp PRIVATE "-Wno-useless-cast") + target_compile_options(oatpp PRIVATE "-Wno-useless-cast" "-Wno-conversion") endif () set_property(TARGET oatpp PROPERTY CXX_VISIBILITY_PRESET hidden) @@ -211,5 +211,3 @@ function(silkit_add_third_party_packages) include_oatpp() endif () endfunction() - -