Skip to content

Commit 79b85be

Browse files
committed
Avoid warning with boost-decimal
1 parent a6244a6 commit 79b85be

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎src/fb-cpp/CMakeLists.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ add_library(${PROJECT_NAME}
6161
${SRC}
6262
)
6363

64+
if(FB_CPP_USE_BOOST_DECIMAL)
65+
target_compile_options(${PROJECT_NAME}
66+
PUBLIC
67+
$<$<CXX_COMPILER_ID:GNU>:-Wno-psabi>
68+
)
69+
endif()
70+
6471
include(GenerateExportHeader)
6572
generate_export_header(${PROJECT_NAME}
6673
BASE_NAME FB_CPP

0 commit comments

Comments
 (0)