Removed WA for C API compilation (#1176)
authorIlya Lavrenov <ilya.lavrenov@intel.com>
Thu, 2 Jul 2020 10:51:21 +0000 (13:51 +0300)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2020 10:51:21 +0000 (13:51 +0300)
inference-engine/ie_bridges/c/src/CMakeLists.txt

index ab981fd..ef8527a 100644 (file)
@@ -21,12 +21,6 @@ target_include_directories(${TARGET_NAME} PUBLIC "${InferenceEngine_C_API_SOURCE
 
 add_cpplint_target(${TARGET_NAME}_cpplint FOR_TARGETS ${TARGET_NAME})
 
-# Workaround to avoid warnings caused with bug in the avx512intrin.h of GCC5
-if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND
-   (CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 5.5))
-    set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS_RELEASE "-Wno-error=maybe-uninitialized -Wno-maybe-uninitialized")
-endif()
-
 # export
 
 export(TARGETS ${TARGET_NAME} NAMESPACE IE:: APPEND FILE "${CMAKE_BINARY_DIR}/targets.cmake")