@@ -102,7 +102,7 IF(BUILD_TESTS) | |||||
102 | LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS}) |
|
102 | LIST (REMOVE_ITEM currentTestSources ${TESTS_HEADERS}) | |
103 |
|
103 | |||
104 | ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources}) |
|
104 | ADD_EXECUTABLE(${testName} ${testFile} ${currentTestSources}) | |
105 |
TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES} |
|
105 | TARGET_LINK_LIBRARIES( ${testName} ${TEST_LIBRARIES}) | |
106 | qt5_use_modules(${testName} Test) |
|
106 | qt5_use_modules(${testName} Test) | |
107 |
|
107 | |||
108 | ADD_TEST( NAME ${testName} COMMAND ${testName} ) |
|
108 | ADD_TEST( NAME ${testName} COMMAND ${testName} ) |
General Comments 0
You need to be logged in to leave comments.
Login now