]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
templates: save all files with latest LyX 2.2git
[lyx.git] / CMakeLists.txt
index f657fd5cc350d1d2d4d9692e0347b2cb083b1710..e10ab3d8326dcaad151600c172fb70f50d902f82 100644 (file)
@@ -648,7 +648,7 @@ if(PYTHONINTERP_FOUND)
   endif()
 endif()
 
-if (NOT PYTHONINTERP_FOUND)
+if(NOT PYTHONINTERP_FOUND AND NOT GNUWIN32_DIR)
   unset(PYTHON_EXECUTABLE CACHE)
   unset(PYTHON_VERSION_MAJOR)
   unset(PYTHON_VERSION_MINOR)