[Bf-blender-cvs] [3232fc335d8] master: Deps: Fix build error with theora on windows.

Lazydodo noreply at git.blender.org
Fri Aug 2 21:29:33 CEST 2019


Commit: 3232fc335d83f6e1aa5f579483b6aa2694dc2882
Author: Lazydodo
Date:   Fri Aug 2 13:29:02 2019 -0600
Branches: master
https://developer.blender.org/rB3232fc335d83f6e1aa5f579483b6aa2694dc2882

Deps: Fix build error with theora on windows.

===================================================================

M	build_files/build_environment/cmake/theora.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/theora.cmake b/build_files/build_environment/cmake/theora.cmake
index 6cb69c73948..5d41fab5740 100644
--- a/build_files/build_environment/cmake/theora.cmake
+++ b/build_files/build_environment/cmake/theora.cmake
@@ -16,7 +16,11 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV} && export HAVE_PDFLATEX=no)
+if (UNIX)
+  set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV} && export HAVE_PDFLATEX=no)
+else()
+  set(THEORA_CONFIGURE_ENV ${CONFIGURE_ENV})
+endif()
 
 ExternalProject_Add(external_theora
   URL ${THEORA_URI}



More information about the Bf-blender-cvs mailing list