treewide: use stdenv.macosVersionMin
This commit is contained in:
parent
6567823996
commit
9b579843d4
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCCLS_VERSION=${version}"
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12"
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.macosVersionMin or ""}"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
cmakeFlags = [
|
||||
"-DSYSTEM_CLANG=ON"
|
||||
"-DCLANG_CXX=ON"
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12"
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.macosVersionMin or ""}"
|
||||
];
|
||||
|
||||
shell = runtimeShell;
|
||||
|
@ -31,7 +31,7 @@ self = stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "static" ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12" # For std::shared_timed_mutex.
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.macosVersionMin or ""}" # For std::shared_timed_mutex.
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # To run libmysql/libmysql_api_test during build.
|
||||
"-DFORCE_UNSUPPORTED_COMPILER=1" # To configure on Darwin.
|
||||
"-DWITH_ROUTER=OFF" # It may be packaged separately.
|
||||
|
Loading…
Reference in New Issue
Block a user