diff options
author | Lazydodo <github@lazydodo.com> | 2019-08-02 22:29:02 +0300 |
---|---|---|
committer | Lazydodo <github@lazydodo.com> | 2019-08-02 22:29:29 +0300 |
commit | 3232fc335d83f6e1aa5f579483b6aa2694dc2882 (patch) | |
tree | 9e4b2a094e60e5cd4cb2d8db1078a6e10be33014 /build_files | |
parent | 6de4123ebde1ad35d9401dc206f13b92a024c5be (diff) |
Deps: Fix build error with theora on windows.
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/build_environment/cmake/theora.cmake | 6 |
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} |