diff options
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 45c90f03b..99a21835f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -137,6 +137,11 @@ ei_add_test(regression) ei_add_test(stdvector) ei_add_test(resize) if(QT4_FOUND) + if(QT_QTCORE_LIBRARY_DEBUG) + set(QT_QTCORE_LIBRARY ${QT_QTCORE_LIBRARY_DEBUG}) + else(QT_QTCORE_LIBRARY_DEBUG) + set(QT_QTCORE_LIBRARY ${QT_QTCORE_LIBRARY_RELEASE}) + endif(QT_QTCORE_LIBRARY_DEBUG) ei_add_test(qtvector " " ${QT_QTCORE_LIBRARY}) endif(QT4_FOUND) ei_add_test(sparse_vector) |