From 1d03978a348e436580c3eac3d8df01b5aa3be8a7 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Mon, 10 Jun 2013 13:24:19 +0300 Subject: cmake: Add QTGSTREAMER_FOUND in QtGStreamerConfig for compatibility --- cmake/modules/QtGStreamerConfig.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/modules/QtGStreamerConfig.cmake.in b/cmake/modules/QtGStreamerConfig.cmake.in index 1a01629..bebbf49 100644 --- a/cmake/modules/QtGStreamerConfig.cmake.in +++ b/cmake/modules/QtGStreamerConfig.cmake.in @@ -10,6 +10,7 @@ find_file(_QTGSTREAMER_TARGETS_FILE @QTGSTREAMER_PACKAGE_NAME@Targets.cmake include(${_QTGSTREAMER_TARGETS_FILE}) unset(_QTGSTREAMER_TARGETS_FILE) +set(@QTGSTREAMER_PACKAGE_NAME@_FOUND TRUE) set(QTGLIB_LIBRARY @QTGLIB_LIBRARY@) set(QTGSTREAMER_LIBRARY @QTGSTREAMER_LIBRARY@) set(QTGSTREAMER_UI_LIBRARY @QTGSTREAMER_UI_LIBRARY@) @@ -70,3 +71,6 @@ find_file(_QTGSTREAMER_CONFIG_COMMON_FILE QtGStreamerConfigCommon.cmake PATHS ${_QTGSTREAMER_CONFIG_DIR} NO_DEFAULT_PATH) include(${_QTGSTREAMER_CONFIG_COMMON_FILE}) unset(_QTGSTREAMER_CONFIG_COMMON_FILE) + +# compatibility variable +set(QTGSTREAMER_FOUND ${@QTGSTREAMER_PACKAGE_NAME@_FOUND}) -- cgit v1.2.3