2015-06-23 15:04:57 +00:00
|
|
|
include(ECMAddTests)
|
2015-08-21 15:37:59 +00:00
|
|
|
find_package(Qt5Test QUIET)
|
|
|
|
|
2015-12-21 10:47:42 +00:00
|
|
|
set_package_properties(Qt5Test PROPERTIES
|
2015-08-21 15:37:59 +00:00
|
|
|
DESCRIPTION "Qt5 unit testing framework"
|
|
|
|
URL "http://www.qt.io"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Required to build the unit tests"
|
|
|
|
)
|
|
|
|
|
|
|
|
if(NOT Qt5Test_FOUND)
|
|
|
|
return()
|
|
|
|
endif()
|
2015-06-23 15:04:57 +00:00
|
|
|
|
2015-08-25 20:35:42 +00:00
|
|
|
ecm_add_tests( snorebenchmark.cpp display_test.cpp LINK_LIBRARIES Snore::Libsnore Qt5::Test)
|