From 3232fc335d83f6e1aa5f579483b6aa2694dc2882 Mon Sep 17 00:00:00 2001 From: Lazydodo Date: Fri, 2 Aug 2019 13:29:02 -0600 Subject: Deps: Fix build error with theora on windows. --- build_files/build_environment/cmake/theora.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build_files') 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} -- cgit v1.2.3