Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/build_environment/patches/openimageio_static_libs.diff')
-rw-r--r--build_files/build_environment/patches/openimageio_static_libs.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/build_files/build_environment/patches/openimageio_static_libs.diff b/build_files/build_environment/patches/openimageio_static_libs.diff
new file mode 100644
index 00000000000..ca3d913d027
--- /dev/null
+++ b/build_files/build_environment/patches/openimageio_static_libs.diff
@@ -0,0 +1,11 @@
+diff -Naur external_openimageio.orig/src/cmake/compiler.cmake external_openimageio/src/cmake/compiler.cmake
+--- external_openimageio.orig/src/cmake/compiler.cmake 2018-07-31 23:45:19 -0600
++++ external_openimageio/src/cmake/compiler.cmake 2018-08-16 12:50:12 -0600
+@@ -152,6 +152,7 @@
+ add_definitions (-D_CRT_NONSTDC_NO_WARNINGS)
+ add_definitions (-D_SCL_SECURE_NO_WARNINGS)
+ add_definitions (-DJAS_WIN_MSVC_BUILD)
++ add_definitions (-DOPJ_STATIC)
+ endif (MSVC)
+
+ # Use ccache if found