Skip to content

Commit

Permalink
Fix: ITT_INCLUDE_DIR was not correctly detected
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelattia committed Jun 3, 2020
1 parent 369770f commit 64abd3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions inference-engine/cmake/FindITT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ endif()
if(DEFINED INTEL_VTUNE_DIR)
message(STATUS "INTEL_VTUNE_DIR = ${INTEL_VTUNE_DIR}")

find_path(ITT_INCLUDE_DIR
FILES
ittnotify.h
find_path(ITT_INCLUDE_DIR ittnotify.h
PATHS "${INTEL_VTUNE_DIR}/include/")

find_library(ITT_LIB
Expand Down

0 comments on commit 64abd3a

Please sign in to comment.