From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/tinyxml2/files: tinyxml2-1.0.9_p20121123-test.patch |
Date: | Sat, 24 Nov 2012 02:54:51 |
Message-Id: | 20121124025441.7D97520C9F@flycatcher.gentoo.org |
1 | radhermit 12/11/24 02:54:41 |
2 | |
3 | Added: tinyxml2-1.0.9_p20121123-test.patch |
4 | Log: |
5 | Version bump. |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/tinyxml2/files/tinyxml2-1.0.9_p20121123-test.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tinyxml2/files/tinyxml2-1.0.9_p20121123-test.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tinyxml2/files/tinyxml2-1.0.9_p20121123-test.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: tinyxml2-1.0.9_p20121123-test.patch |
16 | =================================================================== |
17 | --- tinyxml2-1.0.9_p20121123/CMakeLists.txt |
18 | +++ tinyxml2-1.0.9_p20121123/CMakeLists.txt |
19 | @@ -55,10 +55,13 @@ |
20 | VERSION "${GENERIC_LIB_VERSION}" |
21 | SOVERSION "${GENERIC_LIB_SOVERSION}") |
22 | |
23 | -add_executable(test xmltest.cpp) |
24 | -add_dependencies(test tinyxml2) |
25 | -add_dependencies(test ${TARGET_DATA_COPY}) |
26 | -target_link_libraries(test tinyxml2) |
27 | +set(BUILD_TEST OFF CACHE BOOL "Set to ON to build tests") |
28 | +if(BUILD_TEST) |
29 | + add_executable(test xmltest.cpp) |
30 | + add_dependencies(test tinyxml2) |
31 | + add_dependencies(test ${TARGET_DATA_COPY}) |
32 | + target_link_libraries(test tinyxml2) |
33 | +endif(BUILD_TEST) |
34 | |
35 | |
36 | if(BUILD_STATIC_LIBS) |