diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-08-22 04:06:09 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-08-22 04:06:09 +0400 |
commit | 3793e178f46b571a9c026e139eac1bbe59b83c82 (patch) | |
tree | aff361a1b4808ac70c70622f92eec7c8a1778003 /CMakeLists.txt | |
parent | 59c71eb00ad2b798af6b7ff7959225e975201e2b (diff) |
Turn OpenMP off for MinGW64. I thought it behaved correctly in new compiler builds but unfortunately it looks like there is some issue still which mostly shows when openmp threads stop. This causes crashes after rendering with subsurf, multires, when calculating fluids and possibly when other functionality is used as well.
This should make MinGW64 builds quite stable again :)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 338135f4987..6bb5d8af627 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1043,6 +1043,8 @@ elseif(WIN32) set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread") add_definitions(-DFREE_WINDOWS64 -DMS_WIN64) + #Turn off OpenMP since it causes crashes on render for subsurfed/multiresolution meshes + set(WITH_OPENMP OFF) endif() add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE) |