]> git.stg.codes - stg.git/blobdiff - libs/CMakeLists.txt
Public interfaces: part 4
[stg.git] / libs / CMakeLists.txt
index 59caf2f15fa3f435d26004159faf3a0a2f9ed0c1..17b90799d1228b11bcf54cf321c8545963ea4b4d 100644 (file)
@@ -31,6 +31,7 @@ endif ( BUILD_LIB_IA )
 if ( BUILD_LIB_IBPP )
     add_library ( ibpp STATIC ibpp/all_in_one.cpp )
     target_include_directories ( ibpp PUBLIC ibpp/include )
+    target_compile_options ( ibpp PRIVATE -Wno-old-style-cast $<$<CXX_COMPILER_ID:GNU>:-Wno-useless-cast> )
 endif ( BUILD_LIB_IBPP )
 
 if ( BUILD_LIB_JSON )