From: Be Date: Fri, 7 May 2021 03:06:22 +0000 (-0500) Subject: CMake: move MinGW toolchain file to new cmake/toolchains directory X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=e54cdbbb43f1251f2fbca8f3827e1191abeabb62;p=portaudio CMake: move MinGW toolchain file to new cmake/toolchains directory --- 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`.