aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt5
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)