1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-01 06:10:09 +01:00

Update min-macos to 10.9

Since XCode 10, Apple does not recommend building for macOS <10.9

Reason - 10.7 and 10.8 require libstdc++

We enforce libc++ 

```# Shouldn't cmake do this???
   string( APPEND CMAKE_CXX_FLAGS " -stdlib=libc++" )```

While this generally works, it makes the proper dependency management tricky.
 
Compiler message for the library support:

```
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
    ld: library not found for -lstdc++
```
This commit is contained in:
Dmitry Vedenko
2021-05-21 17:10:39 +03:00
committed by Dmitry Vedenko
parent 4fec5287ea
commit 576b7e66d2
3 changed files with 20 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ mkdir -p build
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release \
-Daudacity_lib_preference=system \
-Daudacity_obey_system_dependencies=On \
-Daudacity_use_wxwidgets=local \
-Daudacity_use_expat=system \