ubuntu20 issue investigation: temporary disable LTO for thirdparty and core parts
This commit is contained in:
parent
73bd3c6bac
commit
5489072e4a
@ -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)
|
||||
|
2
thirdparty/CMakeLists.txt
vendored
2
thirdparty/CMakeLists.txt
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user