Skip to content

Commit 47d4f8c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into gtk3
Conflicts: CMakeLists.txt
2 parents 2f9dad5 + 7b366df commit 47d4f8c

36 files changed

+1072
-393
lines changed

CMakeLists.txt

+14-11
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ OCV_OPTION(WITH_GSTREAMER "Include Gstreamer support" ON
128128
OCV_OPTION(WITH_GSTREAMER_0_10 "Enable Gstreamer 0.10 support (instead of 1.x)" OFF )
129129
OCV_OPTION(WITH_GTK "Include GTK support" ON IF (UNIX AND NOT APPLE AND NOT ANDROID) )
130130
OCV_OPTION(WITH_GTK_2_X "Use GTK version 2" OFF IF (UNIX AND NOT APPLE AND NOT ANDROID) )
131-
OCV_OPTION(WITH_ICV "Include Intel IPP ICV support" ON IF (NOT IOS) )
132-
OCV_OPTION(WITH_IPP "Include Intel IPP support" OFF IF (NOT IOS) )
131+
OCV_OPTION(WITH_IPP "Include Intel IPP support" ON IF (NOT IOS) )
133132
OCV_OPTION(WITH_JASPER "Include JPEG2K support" ON IF (NOT IOS) )
134133
OCV_OPTION(WITH_JPEG "Include JPEG support" ON)
135134
OCV_OPTION(WITH_WEBP "Include WebP support" ON IF (NOT IOS) )
@@ -159,7 +158,7 @@ OCV_OPTION(WITH_OPENCLAMDFFT "Include AMD OpenCL FFT library support" ON
159158
OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" ON IF (NOT ANDROID AND NOT IOS) )
160159
OCV_OPTION(WITH_DIRECTX "Include DirectX support" ON IF WIN32 )
161160
OCV_OPTION(WITH_INTELPERC "Include Intel Perceptual Computing support" OFF IF WIN32 )
162-
161+
OCV_OPTION(WITH_IPP_A "Include Intel IPP_A support" OFF IF (MSVC OR X86 OR X86_64) )
163162

164163
# OpenCV build components
165164
# ===================================================
@@ -750,14 +749,14 @@ else()
750749
endif()
751750
else()
752751
if(HAVE_GTK3)
753-
status(" GTK+ 3.x:" HAVE_GTK THEN "YES (ver ${ALIASOF_gtk+-3.0_VERSION})" ELSE NO)
752+
status(" GTK+ 3.x:" HAVE_GTK THEN "YES (ver ${ALIASOF_gtk+-3.0_VERSION})" ELSE NO)
754753
elseif(HAVE_GTK)
755-
status(" GTK+ 2.x:" HAVE_GTK THEN "YES (ver ${ALIASOF_gtk+-2.0_VERSION})" ELSE NO)
754+
status(" GTK+ 2.x:" HAVE_GTK THEN "YES (ver ${ALIASOF_gtk+-2.0_VERSION})" ELSE NO)
756755
else()
757-
status(" GTK+:" NO)
756+
status(" GTK+:" NO)
758757
endif()
759-
status(" GThread :" HAVE_GTHREAD THEN "YES (ver ${ALIASOF_gthread-2.0_VERSION})" ELSE NO)
760-
status(" GtkGlExt:" HAVE_GTKGLEXT THEN "YES (ver ${ALIASOF_gtkglext-1.0_VERSION})" ELSE NO)
758+
status(" GThread :" HAVE_GTHREAD THEN "YES (ver ${ALIASOF_gthread-2.0_VERSION})" ELSE NO)
759+
status(" GtkGlExt:" HAVE_GTKGLEXT THEN "YES (ver ${ALIASOF_gtkglext-1.0_VERSION})" ELSE NO)
761760
endif()
762761
endif()
763762
endif()
@@ -924,13 +923,17 @@ endif(DEFINED WITH_INTELPERC)
924923
status("")
925924
status(" Other third-party libraries:")
926925

927-
if(WITH_IPP AND IPP_FOUND)
928-
status(" Use IPP:" "${IPP_LATEST_VERSION_STR} [${IPP_LATEST_VERSION_MAJOR}.${IPP_LATEST_VERSION_MINOR}.${IPP_LATEST_VERSION_BUILD}]")
926+
if((WITH_IPP OR WITH_ICV) AND HAVE_IPP)
927+
status(" Use IPP:" "${IPP_VERSION_STR} [${IPP_VERSION_MAJOR}.${IPP_VERSION_MINOR}.${IPP_VERSION_BUILD}]")
929928
status(" at:" "${IPP_ROOT_DIR}")
930929
else()
931-
status(" Use IPP:" WITH_IPP AND NOT IPP_FOUND THEN "IPP not found" ELSE NO)
930+
status(" Use IPP:" (WITH_IPP OR WITH_ICV) AND NOT HAVE_IPP THEN "IPP not found" ELSE NO)
932931
endif()
933932

933+
if(DEFINED WITH_IPP_A)
934+
status(" Use IPP Async:" HAVE_IPP_A THEN "YES" ELSE NO)
935+
endif(DEFINED WITH_IPP_A)
936+
934937
status(" Use Eigen:" HAVE_EIGEN THEN "YES (ver ${EIGEN_WORLD_VERSION}.${EIGEN_MAJOR_VERSION}.${EIGEN_MINOR_VERSION})" ELSE NO)
935938
status(" Use TBB:" HAVE_TBB THEN "YES (ver ${TBB_VERSION_MAJOR}.${TBB_VERSION_MINOR} interface ${TBB_INTERFACE_VERSION})" ELSE NO)
936939
status(" Use OpenMP:" HAVE_OPENMP THEN YES ELSE NO)

0 commit comments

Comments
 (0)