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

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

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)