mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
fix bug i just introduced in ei_add_test_internal
This commit is contained in:
parent
19ae4362bd
commit
6628534eb5
@ -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}")
|
||||
|
@ -160,6 +160,7 @@ ELSE(WIN32)
|
||||
ENDIF(UNIX)
|
||||
ENDIF(WIN32)
|
||||
|
||||
set(GSL_LIBRARIES "")
|
||||
|
||||
IF(GSL_LIBRARIES)
|
||||
IF(GSL_INCLUDE_DIR OR GSL_CXX_FLAGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user