mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 04:36:04 +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})
|
||||
|
||||
else ()
|
||||
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")
|
||||
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_build_tgt "${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
||||
if (APPLE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user