cmake: use *_STATIC_* variables when linking to a static ffmpeg

This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2023-10-10 03:32:46 -07:00
1 parent 88f2fb9dcf
commit ebf5e08fa1
4 files changed
+86 -100

No files matched your search

+5
View File
@@ -87,6 +87,11 @@ jobs:
run: |
cp -rv /vita/dependencies/* ${VITASDK}/arm-vita-eabi
- name: Fix vita.toolchain.cmake
run: |
# cache PKG_CONFIG_PATH
sed -i -E 's/set\( PKG_CONFIG_EXECUTABLE "\$\{VITASDK}\/bin\/arm-vita-eabi-pkg-config" )/set( PKG_CONFIG_EXECUTABLE "${VITASDK}\/bin\/arm-vita-eabi-pkg-config" CACHE PATH "Path of pkg-config executable" )/' ${VITASDK}/share/vita.toolchain.cmake
- name: Configure (CMake)
run: |
cmake -S . -B build -G Ninja \