Deps: Fix build error with theora on windows.

This commit is contained in:
Ray molenkamp 2019-08-02 13:29:02 -06:00
parent 6de4123ebd
commit 3232fc335d
1 changed files with 5 additions and 1 deletions

View File

@ -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}