mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
cmake: fix ITT define condition
This commit is contained in:
parent
cec7cc037b
commit
657c17bb8c
@ -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…
Reference in New Issue
Block a user