forked from msys2/MINGW-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0023-link-errors.patch
More file actions
63 lines (58 loc) · 1.83 KB
/
Copy path0023-link-errors.patch
File metadata and controls
63 lines (58 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
diff -Naur blender-2.82/intern/cycles/render/CMakeLists.txt.orig blender-2.82/intern/cycles/render/CMakeLists.txt
--- blender-2.82/intern/cycles/render/CMakeLists.txt.orig 2019-12-04 14:00:31.000000000 +0300
+++ blender-2.82/intern/cycles/render/CMakeLists.txt 2020-02-12 13:15:01.000000000 +0300
@@ -106,9 +106,6 @@
SYSTEM
${OPENCOLORIO_INCLUDE_DIRS}
)
- if(WIN32)
- add_definitions(-DOpenColorIO_STATIC)
- endif()
endif()
if(WITH_OPENVDB)
--- blender-2.90.1/source/blender/blenlib/CMakeLists.txt.orig 2020-02-18 11:21:38.444947500 +0300
+++ blender-2.90.1/source/blender/blenlib/CMakeLists.txt 2020-02-18 11:22:09.099292800 +0300
@@ -311,6 +311,7 @@
)
list(APPEND LIB
bf_intern_utfconv
+ version
)
list(APPEND SRC
intern/system_win32.c
--- blender-2.82/source/blender/gpu/CMakeLists.txt.orig 2020-02-18 11:21:38.444947500 +0300
+++ blender-2.82/source/blender/gpu/CMakeLists.txt 2020-02-18 11:22:09.099292800 +0300
@@ -132,7 +132,11 @@
${BLENDER_GL_LIBRARIES}
)
-if(NOT WITH_SYSTEM_GLEW)
+if(WITH_SYSTEM_GLEW)
+ list(APPEND LIB
+ ${GLEW_LIBRARY}
+ )
+else()
list(APPEND LIB
${BLENDER_GLEW_LIBRARIES}
)
--- blender-2.82/source/blender/render/CMakeLists.txt.orig 2020-02-18 12:07:41.740701100 +0300
+++ blender-2.82/source/blender/render/CMakeLists.txt 2020-02-18 12:09:20.740485400 +0300
@@ -100,6 +100,12 @@
add_definitions(-DWITH_FREESTYLE)
endif()
+if(WITH_OPENCOLORIO)
+ list(APPEND LIB
+ ${OPENCOLORIO_LIBRARIES}
+ )
+endif()
+
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()
--- blender-2.82/intern/cycles/util/CMakeLists.txt.orig 2020-02-18 12:00:41.215804900 +0300
+++ blender-2.82/intern/cycles/util/CMakeLists.txt 2020-02-18 12:03:21.654539300 +0300
@@ -29,6 +29,7 @@
set(LIB
${TBB_LIBRARIES}
+ ${OPENIMAGEIO_LIBRARIES}
)
if(WITH_CYCLES_STANDALONE)