diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-02-06 21:50:18 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-02-06 21:50:18 +0000 |
commit | 24808dc090a55bcff1f59753b824ca14db1f9099 (patch) | |
tree | addffd8a139c52dcd0499c04917c39c24c36e5b4 /test | |
parent | 1c24f5bbc550251e42bca7b48b063af71311ee58 (diff) |
force the use of debug version of QtCore unless it is not available
Diffstat (limited to 'test')
-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) |