1 |
cryos 09/08/01 18:07:24 |
2 |
|
3 |
Added: eigen-2.0.4-qt-test.patch |
4 |
Log: |
5 |
Version bump, disabled fortran in testing for now - bug 279824. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: eigen-2.0.4-qt-test.patch |
15 |
=================================================================== |
16 |
# HG changeset patch -- Bitbucket.org |
17 |
# Project eigen2 |
18 |
# URL http://bitbucket.org/cryos/eigen2/overview/ |
19 |
# User Marcus D. Hanwell <marcus@×××××.org> |
20 |
# Date 1249148586 14400 |
21 |
# Node ID 3c11267138fe98757d27308d2133d0182da740f3 |
22 |
# Parent 3b8120f077865e2a072e10f5be33e1d942b83a06 |
23 |
Improved quoting of tests when added to the build. |
24 |
|
25 |
This fixes an issue where multiple versions of the Qt libraries are |
26 |
available, if the Qt library variable is not quoted an error was |
27 |
generated as only the first part 'optimized' was used by the create test |
28 |
macro. |
29 |
|
30 |
--- a/test/CMakeLists.txt |
31 |
+++ b/test/CMakeLists.txt |
32 |
@@ -158,7 +158,7 @@ macro(ei_add_test testname) |
33 |
string(STRIP "${ARGV2}" ARGV2_stripped) |
34 |
string(LENGTH "${ARGV2_stripped}" ARGV2_stripped_length) |
35 |
if(${ARGV2_stripped_length} GREATER 0) |
36 |
- target_link_libraries(${targetname} ${ARGV2}) |
37 |
+ target_link_libraries(${targetname} "${ARGV2}") |
38 |
endif(${ARGV2_stripped_length} GREATER 0) |
39 |
endif(${ARGC} GREATER 2) |
40 |
|
41 |
@@ -212,7 +212,7 @@ ei_add_test(alignedbox) |
42 |
ei_add_test(regression) |
43 |
ei_add_test(stdvector) |
44 |
if(QT4_FOUND) |
45 |
- ei_add_test(qtvector " " ${QT_QTCORE_LIBRARY}) |
46 |
+ ei_add_test(qtvector " " "${QT_QTCORE_LIBRARY}") |
47 |
endif(QT4_FOUND) |
48 |
ei_add_test(sparse_vector) |
49 |
ei_add_test(sparse_basic) |