summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2010-12-07 18:49:25 +0200
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.co.uk>2010-12-11 12:18:50 +0200
commit857f00d0e0c3403f7b9e43db376c2003d7c21e83 (patch)
treee0c6b8434789df88f14e0d50cce26641bfd703bd
parentc4894eaf45765137ec46d552cb4628bf58289191 (diff)
Fix mistake in cmake variable check.
This was discovered because this code path is used in the compilation tests.
-rw-r--r--cmake/modules/FindQtGstreamer.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindQtGstreamer.cmake b/cmake/modules/FindQtGstreamer.cmake
index e975aac..624b9a5 100644
--- a/cmake/modules/FindQtGstreamer.cmake
+++ b/cmake/modules/FindQtGstreamer.cmake
@@ -33,7 +33,7 @@ else()
get_filename_component(_QTGSTREAMER_CONFIG_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
find_file(_QTGSTREAMER_TARGETS_FILE QtGstreamerTargets.cmake PATHS ${_QTGSTREAMER_CONFIG_DIR} NO_DEFAULT_PATH)
- if(_QTGSTREAMER_TARGETS_FILE-NOTFOUND)
+ if(NOT _QTGSTREAMER_TARGETS_FILE)
# Targets file not found. Do a typical search for QtGstreamer.
# Normally, this path is never executed. It is just provided as a fallback in case something goes wrong.
find_library(QTGSTREAMER_LIBRARY QtGstreamer