From 883f5ebf6bc2af2decd4e64aeda1ee92bff40e54 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Wed, 29 May 2013 16:48:38 +0300 Subject: 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. --- tests/compilation/CompilationTests_CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- cgit v1.2.3