svn merge ^/trunk/blender -r43124:43160
[blender-staging.git] / CMakeLists.txt
index f64285314a6c321524327442d46915537070e3d1..dc514a28905830f1992113539ed13af0219f7435 100644 (file)
@@ -1026,9 +1026,13 @@ elseif(WIN32)
                        set(OPENIMAGEIO_LIBPATH ${OPENIMAGEIO}/lib)
                        set(OPENIMAGEIO_DEFINITIONS)
                endif()
-
+               
                set(PLATFORM_LINKFLAGS "-Xlinker --stack=2097152")
 
+               ## DISABLE - causes linking errors 
+               ## for re-distrobution, so users dont need mingw installed
+               # set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -static-libgcc -static-libstdc++")
+
        endif()
 
        # used in many places so include globally, like OpenGL