1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

3rdparty(itt): support LOONGARCH64

Fix warning generated by `cmake -S . -B build -DWITH_ITT=ON -DBUILD_ITT=ON`:
```
CMake Warning at cmake/OpenCVUtils.cmake:762 (message):
  Unexpected option: BUILD_ITT (=ON)

  Condition: IF
  ((;X86_64;OR;X86;OR;ARM;OR;AARCH64;OR;PPC64;OR;PPC64LE;);AND;NOT;WINRT;AND;NOT;APPLE_FRAMEWORK)
Call Stack (most recent call first):
  CMakeLists.txt:210 (OCV_OPTION)
```
This commit is contained in:
jinbo
2026-01-21 16:16:07 +08:00
parent 70b42e7134
commit 9c561eb703
+1 -1
View File
@@ -209,7 +209,7 @@ OCV_OPTION(BUILD_TBB "Download and build TBB from source" (ANDROI
OCV_OPTION(BUILD_IPP_IW "Build IPP IW from source" (NOT MINGW OR OPENCV_FORCE_3RDPARTY_BUILD) IF (X86_64 OR X86) AND NOT WINRT )
OCV_OPTION(BUILD_ITT "Build Intel ITT from source"
(NOT MINGW OR OPENCV_FORCE_3RDPARTY_BUILD)
IF (X86_64 OR X86 OR ARM OR AARCH64 OR PPC64 OR PPC64LE) AND NOT WINRT AND NOT APPLE_FRAMEWORK
IF (X86_64 OR X86 OR ARM OR AARCH64 OR PPC64 OR PPC64LE OR LOONGARCH64) AND NOT WINRT AND NOT APPLE_FRAMEWORK
)
# Optional 3rd party components