summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-05-29 16:48:38 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-06-07 14:46:22 +0300
commit883f5ebf6bc2af2decd4e64aeda1ee92bff40e54 (patch)
tree8eabce73c17d7e3394af15536f5b6ad5de873d4b
parentaad220794775aa99459ae58d5497e1c8908394d2 (diff)
tests/compilation: don't link compilation tests with qtcore
This fails with Qt5 because qtcore is imported as an external cmake target, which apparently doesn't work with try_compile(). Fortunately, we are not using QtCore in those tests.
-rw-r--r--tests/compilation/CompilationTests_CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compilation/CompilationTests_CMakeLists.txt b/tests/compilation/CompilationTests_CMakeLists.txt
index a256cd7..82db935 100644
--- a/tests/compilation/CompilationTests_CMakeLists.txt
+++ b/tests/compilation/CompilationTests_CMakeLists.txt
@@ -10,7 +10,7 @@ include(QtHelpers)
include(QtGStreamerConfigCommon)
include(MacroCXXCompilationTest)
-set(CMAKE_REQUIRED_LIBRARIES ${QTGSTREAMER_LIBRARY} ${QTGLIB_LIBRARY} ${QT_QTCORE_LIBRARY})
+set(CMAKE_REQUIRED_LIBRARIES ${QTGSTREAMER_LIBRARY} ${QTGLIB_LIBRARY})
set(CMAKE_REQUIRED_INCLUDES ${QTGSTREAMER_INCLUDES})
set(CMAKE_REQUIRED_DEFINITIONS ${QTGSTREAMER_DEFINITIONS})
set(CMAKE_REQUIRED_FLAGS "${QTGSTREAMER_FLAGS}")