Commit e9dcecf9 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #15826 from alalek:cmake_fix_itt_define_condition

parents cfc78194 657c17bb
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment