diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 89fe482d7ec..038d6a075dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,8 +229,10 @@ option(WITH_PYTHON_INSTALL_NUMPY "Copy system numpy into the blender install fol set(PYTHON_NUMPY_PATH "" CACHE PATH "Python to python site-packages or dist-packages containing 'numpy' module") mark_as_advanced(PYTHON_NUMPY_PATH) -option(WITH_MINGW64 "Use the 64-bit version of MinGW" OFF) -mark_as_advanced(WITH_MINGW64) +if(MINGW) + option(WITH_MINGW64 "Use the 64-bit version of MinGW" OFF) + mark_as_advanced(WITH_MINGW64) +endif() # Cycles option(WITH_CYCLES "Enable cycles Render Engine" ON) |