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/freetype.diff')
-rw-r--r--build_files/build_environment/patches/freetype.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/build_files/build_environment/patches/freetype.diff b/build_files/build_environment/patches/freetype.diff
new file mode 100644
index 00000000000..cf952234795
--- /dev/null
+++ b/build_files/build_environment/patches/freetype.diff
@@ -0,0 +1,18 @@
+diff -NaurBb b/CMakeLists.txt a/CMakeLists.txt
+--- b/CMakeLists.txt 2018-05-01 12:45:46 -0600
++++ a/CMakeLists.txt 2018-08-08 13:03:22 -0600
+@@ -229,9 +229,12 @@
+ endif ()
+ string(REPLACE "/undef " "#undef "
+ FTCONFIG_H "${FTCONFIG_H}")
+- file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
+- "${FTCONFIG_H}")
++else()
++ file(READ "${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h"
++ FTCONFIG_H)
+ endif ()
++file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
++ "${FTCONFIG_H}")
+
+
+ # Create the options file