Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLazydodo <github@lazydodo.com>2019-08-02 22:29:02 +0300
committerLazydodo <github@lazydodo.com>2019-08-02 22:29:29 +0300
commit3232fc335d83f6e1aa5f579483b6aa2694dc2882 (patch)
tree9e4b2a094e60e5cd4cb2d8db1078a6e10be33014 /build_files
parent6de4123ebde1ad35d9401dc206f13b92a024c5be (diff)
Deps: Fix build error with theora on windows.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/build_environment/cmake/theora.cmake6
1 files changed, 5 insertions, 1 deletions
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}