CI Windows: add include path for MSVC

src/libavcodec/*cuda* includes FFmpeg headers, so provide them also for
MSVC (which is used to compile CUDA).
This commit is contained in:
Martin Pulec
2024-03-05 14:51:59 +01:00
parent 15aba5a8de
commit 448c19f69b

View File

@@ -7,6 +7,7 @@ export PATH=$MSYSTEM_PREFIX/bin:/usr/local/bin:$PATH
export CPATH=/usr/local/include:/usr/include
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:$MSYSTEM_PREFIX/lib/pkgconfig
export LIBRARY_PATH=/usr/local/lib
export INCLUDE='C:\msys64\clang64\include' # for MSVC (CUDA)
CUDA_D=$(ls -d /c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/*)
if test -d "$CUDA_D"; then