Rpath story (#20297)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-10-10 06:27:26 +02:00
1 parent bf9bdaa671
commit e30f75bb4d
34 files changed
+143 -95

No files matched your search

@@ -8,9 +8,6 @@ set(TARGET_NAME InferenceEngineUnitTests)
ov_disable_deprecated_warnings()
# rpath enabled for unit tests only
SET (CMAKE_SKIP_RPATH OFF)
# collect sources
file(GLOB
@@ -4,9 +4,6 @@
set(TARGET_NAME ov_gna_unit_tests)
# RPATH is always enabled for unit tests
set(CMAKE_SKIP_RPATH OFF)
# because unit tests use plugins object files compiled with LTO
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 9.0)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO})