Commit d4c03a29 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

QtTesting does not use the QtTest module

Remove CMake code finding/linking to this, we do not make use of that
module in the QtTesting code.
parent 1b6b0aed
......@@ -15,18 +15,14 @@ ENDIF()
IF(QtTesting_QT_VERSION VERSION_GREATER "4")
IF(NOT Qt5Test_FOUND)
FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5Test REQUIRED)
ADD_DEFINITIONS(
${Qt5Widgets_DEFINITIONS}
${Qt5Test_DEFINITIONS}
)
INCLUDE_DIRECTORIES(
${Qt5Widgets_INCLUDE_DIRS}
${Qt5Test_INCLUDE_DIRS}
)
SET(QT_LIBRARIES
${Qt5Widgets_LIBRARIES}
${Qt5Test_LIBRARIES}
)
ENDIF()
ELSE()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment