Fixing invocation of bash command to install gcc and perl for ffmpeg

This commit is contained in:
Gilles Khouzam 2017-06-20 12:46:42 -07:00
parent c8d638bcd6
commit 9fe35b0d4d

View File

@ -39,10 +39,11 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
## Get Perl and GCC for MSYS2
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "PATH=/usr/bin:\$PATH;pacman -Sy --noconfirm --needed perl gcc"
COMMAND ${BASH} --noprofile --norc -c 'PATH=/usr/bin:\$PATH;pacman -Sy --noconfirm --needed perl gcc'
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}
LOGNAME msys-${TARGET_TRIPLET}
)
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
else()