From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/pugixml/files: pugixml-1.0-cmake.patch |
Date: | Sun, 08 Apr 2012 07:36:39 |
Message-Id: | 20120408073630.0547B2004C@flycatcher.gentoo.org |
1 | radhermit 12/04/08 07:36:30 |
2 | |
3 | Added: pugixml-1.0-cmake.patch |
4 | Log: |
5 | Initial import for mkvtoolnix-5.5.0. Ebuild by me. |
6 | |
7 | (Portage version: 2.2.0_alpha100/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/pugixml/files/pugixml-1.0-cmake.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pugixml/files/pugixml-1.0-cmake.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pugixml/files/pugixml-1.0-cmake.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: pugixml-1.0-cmake.patch |
16 | =================================================================== |
17 | --- pugixml-1.0/scripts/CMakeLists.txt |
18 | +++ pugixml-1.0/scripts/CMakeLists.txt |
19 | @@ -1,5 +1,13 @@ |
20 | +cmake_minimum_required(VERSION 2.8) |
21 | project(pugixml) |
22 | |
23 | -set(SOURCES ../src/pugixml.hpp ../src/pugiconfig.hpp ../src/pugixml.cpp) |
24 | +set(HEADERS ../src/pugixml.hpp ../src/pugiconfig.hpp) |
25 | +set(SOURCES ${HEADERS} ../src/pugixml.cpp) |
26 | |
27 | -add_library(pugixml STATIC ${SOURCES}) |
28 | +add_library(pugixml SHARED ${SOURCES}) |
29 | +set_target_properties(pugixml PROPERTIES SOVERSION 1 VERSION 1.0) |
30 | + |
31 | +install(TARGETS pugixml |
32 | + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
33 | +install(FILES ${HEADERS} |
34 | + DESTINATION include) |