diff options
-rw-r--r-- | cmake/EigenTesting.cmake | 2 | ||||
-rw-r--r-- | test/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index 571774787..ef36d2067 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 a266ec482..1e2bd5a9a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -133,7 +133,7 @@ if(QT4_FOUND) 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}) + ei_add_test(qtvector " " "${QT_QTCORE_LIBRARY}") endif(QT4_FOUND) ei_add_test(sparse_vector) ei_add_test(sparse_basic) |