File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -749,14 +749,14 @@ else()
749
749
endif ()
750
750
else ()
751
751
if (HAVE_GTK3)
752
- 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 )
753
753
elseif (HAVE_GTK)
754
- 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 )
755
755
else ()
756
- status (" GTK+:" NO )
756
+ status (" GTK+:" NO )
757
757
endif ()
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 )
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 )
760
760
endif ()
761
761
endif ()
762
762
endif ()
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ ocv_clear_vars(HAVE_GTK HAVE_GTK3 HAVE_GTHREAD HAVE_GTKGLEXT)
43
43
if (WITH_GTK AND NOT HAVE_QT)
44
44
if (NOT WITH_GTK_2_X)
45
45
CHECK_MODULE(gtk+-3.0 HAVE_GTK3)
46
- set (HAVE_GTK HAVE_GTK3)
46
+ if (HAVE_GTK3)
47
+ set (HAVE_GTK TRUE )
48
+ endif ()
47
49
endif ()
48
50
if (NOT HAVE_GTK)
49
51
CHECK_MODULE(gtk+-2.0 HAVE_GTK)
You can’t perform that action at this time.
0 commit comments