Commit 177e5b3d authored by Alex Richardson's avatar Alex Richardson

fix build without QtTest

parent f8b94b8a
......@@ -26,9 +26,8 @@ find_package(Qt5 REQUIRED NO_MODULE
ScriptTools
Widgets
Xml
OPTIONAL_COMPONENTS
Test
)
find_package(Qt5Test QUIET)
if (NOT Qt5Test_FOUND)
message(STATUS "Qt5Test not found, unit tests will not be built.")
endif()
......
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