highgui: fix config verification for GTK
authorMaksim Shabunin <maksim.shabunin@gmail.com>
Wed, 26 May 2021 15:50:01 +0000 (18:50 +0300)
committerMaksim Shabunin <maksim.shabunin@gmail.com>
Wed, 26 May 2021 16:59:36 +0000 (19:59 +0300)
modules/highgui/cmake/detect_gtk.cmake

index 7c5939ed97324baa5b5901c531017efcf83907f4..0ffa473d6acafe6f435797191c21d509bf053a5d 100644 (file)
@@ -41,3 +41,4 @@ if(WITH_GTK AND NOT HAVE_QT)
 endif()
 
 set(HAVE_GTK ${HAVE_GTK} PARENT_SCOPE)
+set(HAVE_GTK3 ${HAVE_GTK3} PARENT_SCOPE)