ubuntu20 issue investigation: temporary disable LTO for thirdparty and core parts

This commit is contained in:
Ivan Tikhonov 2021-12-16 23:02:30 +03:00
parent 73bd3c6bac
commit 5489072e4a
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#
if(ENABLE_LTO)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF)
endif()
add_definitions(-DIN_OV_CORE_LIBRARY)

View File

@ -7,7 +7,7 @@ if(SUGGEST_OVERRIDE_SUPPORTED)
endif()
if(ENABLE_LTO)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF)
endif()
add_subdirectory(ittapi)