From e54cdbbb43f1251f2fbca8f3827e1191abeabb62 Mon Sep 17 00:00:00 2001 From: Be Date: Thu, 6 May 2021 22:06:22 -0500 Subject: [PATCH] CMake: move MinGW toolchain file to new cmake/toolchains directory --- .github/workflows/cmake.yml | 2 +- cmake/{ => toolchains}/i686-w64-mingw32.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename cmake/{ => toolchains}/i686-w64-mingw32.cmake (88%) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index db66912..df5c80c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -19,7 +19,7 @@ jobs: os: ubuntu-latest install_dir: ~/portaudio dependencies_extras: mingw-w64 - cmake_extras: -DCMAKE_TOOLCHAIN_FILE=cmake/i686-w64-mingw32.cmake + cmake_extras: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/i686-w64-mingw32.cmake - name: Windows os: windows-latest install_dir: C:\portaudio diff --git a/cmake/i686-w64-mingw32.cmake b/cmake/toolchains/i686-w64-mingw32.cmake similarity index 88% rename from cmake/i686-w64-mingw32.cmake rename to cmake/toolchains/i686-w64-mingw32.cmake index 558c0bd..2a2c7bf 100644 --- a/cmake/i686-w64-mingw32.cmake +++ b/cmake/toolchains/i686-w64-mingw32.cmake @@ -1,6 +1,6 @@ # CMake Toolchain file for cross-compiling PortAudio to i686-w64-mingw32 # Inspired from: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/cross_compiling/Mingw -# Example usage: $ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/i686-w64-mingw32.cmake . +# Example usage: $ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/i686-w64-mingw32.cmake . # i686-w64-mingw32 needs to be installed for this to work. On Debian-based # distributions the package is typically named `mingw-w64`. -- 2.43.0