Move GNU build flag to "cmake/developer_package/compile_flags/sdl.cmake" (#12143)
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
This commit is contained in:
@@ -17,10 +17,6 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "CMake build type" FORCE)
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_compile_options(-fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv)
|
||||
endif()
|
||||
|
||||
find_package(IEDevScripts REQUIRED
|
||||
PATHS "${OpenVINO_SOURCE_DIR}/cmake/developer_package"
|
||||
NO_CMAKE_FIND_ROOT_PATH
|
||||
|
||||
Reference in New Issue
Block a user