parent
d3919962dc
commit
990998bc40
@ -1,2 +1,3 @@
|
|||||||
/pugixml-1.0.tar.gz
|
/pugixml-1.0.tar.gz
|
||||||
/pugixml-1.4.tar.gz
|
/pugixml-1.4.tar.gz
|
||||||
|
/pugixml-1.5.tar.gz
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
--- scripts/CMakeLists.txt.orig 2010-09-20 22:14:28.000000000 -0500
|
|
||||||
+++ scripts/CMakeLists.txt 2011-07-08 13:44:29.630913408 -0500
|
|
||||||
@@ -1,5 +1,19 @@
|
|
||||||
project(pugixml)
|
|
||||||
|
|
||||||
+cmake_minimum_required(VERSION 2.6)
|
|
||||||
+set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared instead of static library")
|
|
||||||
+
|
|
||||||
set(SOURCES ../src/pugixml.hpp ../src/pugiconfig.hpp ../src/pugixml.cpp)
|
|
||||||
|
|
||||||
-add_library(pugixml STATIC ${SOURCES})
|
|
||||||
+if(BUILD_SHARED_LIBS)
|
|
||||||
+ add_library(pugixml SHARED ${SOURCES})
|
|
||||||
+else()
|
|
||||||
+ add_library(pugixml STATIC ${SOURCES})
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
+set_target_properties(pugixml
|
|
||||||
+ PROPERTIES
|
|
||||||
+ VERSION 1.0
|
|
||||||
+ SOVERSION 1.0
|
|
||||||
+ )
|
|
||||||
+
|
|
@ -1,11 +0,0 @@
|
|||||||
diff -up pugixml-1.4/scripts/CMakeLists.txt.export pugixml-1.4/scripts/CMakeLists.txt
|
|
||||||
--- pugixml-1.4/scripts/CMakeLists.txt.export 2014-02-22 03:25:24.000000000 -0700
|
|
||||||
+++ pugixml-1.4/scripts/CMakeLists.txt 2014-09-03 14:02:39.535720801 -0600
|
|
||||||
@@ -18,5 +18,6 @@ endif()
|
|
||||||
|
|
||||||
set_target_properties(pugixml PROPERTIES VERSION 1.4 SOVERSION 1)
|
|
||||||
|
|
||||||
-install(TARGETS pugixml LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
||||||
+install(TARGETS pugixml EXPORT pugixml-config LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
||||||
install(FILES ${HEADERS} DESTINATION include)
|
|
||||||
+install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml)
|
|
Loading…
Reference in new issue