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:
tamasmeszaros 2020-03-16 15:02:37 +01:00
parent 5ed7d0aa29
commit 7118d77bea
4 changed files with 10 additions and 3 deletions

4
deps/CMakeLists.txt vendored
View file

@ -49,6 +49,10 @@ find_package(Git REQUIRED)
get_property(_is_multi GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
# C and CXX flags handed over to unix autotools projects.
set(DEP_CFLAGS "")
set(DEP_CXXFLAGS "")
function(prusaslicer_add_cmake_project projectname)
cmake_parse_arguments(P_ARGS "" "INSTALL_DIR;BUILD_COMMAND;INSTALL_COMMAND" "CMAKE_ARGS" ${ARGN})