Blender build data
This commit is contained in:
34
blender-build/build_environment/patches/tinyxml.diff
Normal file
34
blender-build/build_environment/patches/tinyxml.diff
Normal file
@@ -0,0 +1,34 @@
|
||||
diff -Naur tinyxml.orig/CMakeLists.txt tinyxml/CMakeLists.txt
|
||||
--- tinyxml.orig/CMakeLists.txt 1969-12-31 16:00:00.000000000 -0800
|
||||
+++ tinyxml/CMakeLists.txt 2013-06-18 17:10:59.000000000 -0700
|
||||
@@ -0,0 +1,30 @@
|
||||
+project(tinyxml)
|
||||
+
|
||||
+cmake_minimum_required(VERSION 2.8)
|
||||
+
|
||||
+add_library(tinyxml
|
||||
+ STATIC
|
||||
+ tinystr.cpp
|
||||
+ tinyxml.cpp
|
||||
+ tinyxmlerror.cpp
|
||||
+ tinyxmlparser.cpp)
|
||||
+
|
||||
+set(TINYXML_COMPILE_FLAGS "-DTIXML_USE_STL")
|
||||
+
|
||||
+if(UNIX)
|
||||
+ set(TINYXML_COMPILE_FLAGS "${TINYXML_COMPILE_FLAGS} -fPIC -fvisibility=hidden")
|
||||
+endif()
|
||||
+
|
||||
+if(OCIO_INLINES_HIDDEN AND UNIX)
|
||||
+ set(TINYXML_COMPILE_FLAGS "${TINYXML_COMPILE_FLAGS} -fvisibility-inlines-hidden")
|
||||
+endif()
|
||||
+
|
||||
+set_target_properties(tinyxml PROPERTIES
|
||||
+ COMPILE_FLAGS "${TINYXML_COMPILE_FLAGS}")
|
||||
+
|
||||
+install(TARGETS
|
||||
+ tinyxml
|
||||
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
+install(FILES
|
||||
+ tinyxml.h tinystr.h
|
||||
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
|
||||
Reference in New Issue
Block a user