diff options
-rw-r--r-- | cmake/EigenTesting.cmake | 2 | ||||
-rw-r--r-- | test/CMakeLists.txt | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index ef36d2067..571774787 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -74,7 +74,7 @@ macro(ei_add_test testname) string(STRIP "${ARGV2}" ARGV2_stripped) string(LENGTH "${ARGV2_stripped}" ARGV2_stripped_length) if(${ARGV2_stripped_length} GREATER 0) - target_link_libraries(${targetname} "${ARGV2}") + target_link_libraries(${targetname} ${ARGV2}) endif(${ARGV2_stripped_length} GREATER 0) endif(${ARGC} GREATER 2) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ac4eb7633..dd8f07386 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -78,7 +78,6 @@ else(QT4_FOUND) ei_add_property(EIGEN_MISSING_BACKENDS "Qt4 support, ") endif(QT4_FOUND) - if(TEST_LIB) add_definitions("-DEIGEN_EXTERN_INSTANTIATIONS=1") endif(TEST_LIB) @@ -137,11 +136,6 @@ 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) |