aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-08-02 15:09:34 +0200
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-08-02 15:09:34 +0200
commitcd4978014397cb58b66da7c4f73a09879789d2e2 (patch)
tree01246fcbca6824972417ece798da7e1a266f11e2 /cmake
parent21f686846bcda8997444090f779f78e17a801604 (diff)
apply patch from Marcus Hanwell: Improved quoting of tests when added to the build
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EigenTesting.cmake2
1 files changed, 1 insertions, 1 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)