mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-24 22:04:28 +08:00
apply patch from Marcus Hanwell: Improved quoting of tests when added to the build
This commit is contained in:
parent
21f686846b
commit
cd49780143
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user