mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 17:45:57 +08:00
Fix GMP build error
This commit is contained in:
parent
c46f6434ac
commit
9ac7fd264c
4
deps/+GMP/GMP.cmake
vendored
4
deps/+GMP/GMP.cmake
vendored
@ -17,8 +17,8 @@ if (MSVC)
|
|||||||
add_custom_target(dep_GMP SOURCES ${_output})
|
add_custom_target(dep_GMP SOURCES ${_output})
|
||||||
|
|
||||||
else ()
|
else ()
|
||||||
string(TOUPPER ${CMAKE_BUILD_TYPE} _buildtype_upper)
|
string(TOUPPER "${CMAKE_BUILD_TYPE}" _buildtype_upper)
|
||||||
set(_gmp_ccflags "${CMAKE_CXX_FLAGS}_${_buildtype_upper} -fPIC -DPIC -Wall -Wmissing-prototypes -Wpointer-arith -pedantic -fomit-frame-pointer -fno-common")
|
set(_gmp_ccflags "${CMAKE_CXX_FLAGS_${_buildtype_upper}} -fPIC -DPIC -Wall -Wmissing-prototypes -Wpointer-arith -pedantic -fomit-frame-pointer -fno-common")
|
||||||
set(_gmp_build_tgt "${CMAKE_SYSTEM_PROCESSOR}")
|
set(_gmp_build_tgt "${CMAKE_SYSTEM_PROCESSOR}")
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user