Merge pull request #15826 from alalek:cmake_fix_itt_define_condition

pull/15880/head
Alexander Alekhin 5 years ago
commit e9dcecf9b4
  1. 2
      modules/core/CMakeLists.txt

@ -39,7 +39,7 @@ if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wenum-compare -Wunused-function -Wshadow)
endif()
if(CV_TRACE AND HAVE_ITT AND BUILD_ITT)
if(CV_TRACE AND HAVE_ITT)
add_definitions(-DOPENCV_WITH_ITT=1)
endif()

Loading…
Cancel
Save