ENABLE_PROFILING_ITT option is ignored if ITT library not found (#1647)

This commit is contained in:
Vladislav Volkov authored and GitHub committed 2020-08-06 13:20:35 +03:00
1 parent 58fe0106cc
commit 8ae30481f1
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -44,4 +44,4 @@ ie_dependent_option (ENABLE_AVX2 "Enable AVX2 optimizations" ON "X86_64 OR X86"
ie_dependent_option (ENABLE_AVX512F "Enable AVX512 optimizations" ON "X86_64 OR X86" OFF)
ie_dependent_option (ENABLE_PROFILING_ITT "ITT tracing of IE and plugins internals" OFF "NOT CMAKE_CROSSCOMPILING" OFF)
ie_dependent_option (ENABLE_PROFILING_ITT "ITT tracing of IE and plugins internals" ON "NOT CMAKE_CROSSCOMPILING" OFF)