OpenCVDetectTrace.cmake 328 B

12345678910111213
  1. if(WITH_ITT)
  2. if(BUILD_ITT)
  3. add_subdirectory("${OpenCV_SOURCE_DIR}/3rdparty/ittnotify")
  4. set(ITT_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/ittnotify/include")
  5. set(ITT_INCLUDE_DIRS "${ITT_INCLUDE_DIR}")
  6. set(ITT_LIBRARIES "ittnotify")
  7. set(HAVE_ITT 1)
  8. else()
  9. #TODO
  10. endif()
  11. endif()
  12. set(OPENCV_TRACE 1)