aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-17 11:47:59 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-17 11:47:59 -0400
commit6628534eb587f6d96e9c8bbc0447f9685c6cea5c (patch)
tree0901090242aa302b13efe6d68a8b48796fa5f9c4 /cmake
parent19ae4362bd9e14e11eadfdfe210be02eb6592f51 (diff)
fix bug i just introduced in ei_add_test_internal
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EigenTesting.cmake2
-rw-r--r--cmake/FindGSL.cmake1
2 files changed, 2 insertions, 1 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake
index b2b5a7a8e..1637989ad 100644
--- a/cmake/EigenTesting.cmake
+++ b/cmake/EigenTesting.cmake
@@ -38,7 +38,7 @@ macro(ei_add_test_internal testname testname_with_suffix)
if(${ARGC} GREATER 3)
foreach(lib_to_link ${ARGV3})
- string(STRIP lib_to_link lib_to_link_stripped)
+ string(STRIP "${lib_to_link}" lib_to_link_stripped)
string(LENGTH "${lib_to_link_stripped}" lib_to_link_stripped_length)
if(${lib_to_link_stripped_length} GREATER 0)
target_link_libraries(${targetname} "${lib_to_link}")
diff --git a/cmake/FindGSL.cmake b/cmake/FindGSL.cmake
index bf411a7f9..32d182d64 100644
--- a/cmake/FindGSL.cmake
+++ b/cmake/FindGSL.cmake
@@ -160,6 +160,7 @@ ELSE(WIN32)
ENDIF(UNIX)
ENDIF(WIN32)
+set(GSL_LIBRARIES "")
IF(GSL_LIBRARIES)
IF(GSL_INCLUDE_DIR OR GSL_CXX_FLAGS)