Files
MINGW-packages/mingw-w64-blender-git/mingw-DEBUG-libmv-avoid-too-many-sections.patch
2015-03-08 00:00:46 +03:00

13 lines
514 B
Diff

--- blender-2.72/extern/libmv/CMakeLists.txt.orig 2014-10-07 11:57:07.942534700 +0100
+++ blender-2.72/extern/libmv/CMakeLists.txt 2014-10-07 11:36:50.624534700 +0100
@@ -170,6 +170,9 @@
)
if(WIN32)
+ # To avoid ..\fundamental.cc.obj: too many sections (35985)
+ set_source_files_properties(libmv/multiview/fundamental.cc PROPERTIES COMPILE_FLAGS "-g0")
+ set_source_files_properties(libmv/simple_pipeline/resect.cc PROPERTIES COMPILE_FLAGS "-g0")
list(APPEND INC
third_party/glog/src/windows
)