]> git.stg.codes - stg.git/blobdiff - libs/CMakeLists.txt
GCC version, warnings.
[stg.git] / libs / CMakeLists.txt
index 59caf2f15fa3f435d26004159faf3a0a2f9ed0c1..8528b9510308022847426f477e340eb0383235f7 100644 (file)
@@ -29,6 +29,7 @@ if ( BUILD_LIB_IA )
 endif ( BUILD_LIB_IA )
 
 if ( BUILD_LIB_IBPP )
+    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-old-style-cast -Wno-useless-cast")
     add_library ( ibpp STATIC ibpp/all_in_one.cpp )
     target_include_directories ( ibpp PUBLIC ibpp/include )
 endif ( BUILD_LIB_IBPP )