Fix minimum osx version not being specified for GMP and MPFR
put `env` before configure and the variables addresses issue #3847
This commit is contained in:
parent
5ed7d0aa29
commit
7118d77bea
4 changed files with 10 additions and 3 deletions
3
deps/deps-macos.cmake
vendored
3
deps/deps-macos.cmake
vendored
|
@ -11,6 +11,9 @@ set(DEP_CMAKE_OPTS
|
|||
"-DCMAKE_C_FLAGS=${DEP_WERRORS_SDK}"
|
||||
)
|
||||
|
||||
list(APPEND DEP_CFLAGS "-mmacosx-version-min=${DEP_OSX_TARGET} ${DEP_WERRORS_SDK}")
|
||||
list(APPEND DEP_CXXFLAGS "-mmacosx-version-min=${DEP_OSX_TARGET} ${DEP_WERRORS_SDK}")
|
||||
|
||||
include("deps-unix-common.cmake")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue