Browse Source

Move MACOSX_DEPLOYMENT_TARGET initialization

Stop setting it globally and make it wxwidgets build specific
Use CMAKE_OSX_DEPLOYMENT_TARGET instead of the env var name

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
pull/617/head
Emily Mabrey 10 months ago
parent
commit
b4032a7751
No known key found for this signature in database GPG Key ID: 6F4EF47256A1B7DC
  1. 3
      .github/workflows/cmake_build.yml

3
.github/workflows/cmake_build.yml

@ -114,7 +114,6 @@ jobs:
env:
AUDACITY_ARCH_LABEL: ${{ matrix.config.arch }}
MACOSX_DEPLOYMENT_TARGET: 10.12
# CMake settings
CMAKE_BUILD_TYPE: MinSizeRel
@ -271,7 +270,7 @@ jobs:
git clone --recurse-submodules ${{ env.WX_GIT_URL }}
cd wxWidgets
git checkout ${{ env.WX_GIT_REF }}
cmake -S . -B cmake_build -D CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -D CMAKE_INSTALL_PREFIX=${{ env.WX_INSTALL_DIR }}
cmake -S . -B cmake_build -D CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -D CMAKE_INSTALL_PREFIX=${{ env.WX_INSTALL_DIR }} -D CMAKE_OSX_DEPLOYMENT_TARGET=10.12
cmake --build cmake_build
cmake --install cmake_build

Loading…
Cancel
Save