diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2013-06-10 13:24:19 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2013-06-10 13:24:19 +0300 |
commit | 1d03978a348e436580c3eac3d8df01b5aa3be8a7 (patch) | |
tree | 8da12d7574f10effa68644f56cd4b66702dd50f5 | |
parent | 7f319d7d88b02f329dbd9343dc75696acc481292 (diff) |
cmake: Add QTGSTREAMER_FOUND in QtGStreamerConfig for compatibility
-rw-r--r-- | cmake/modules/QtGStreamerConfig.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
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}) |