Fix Boost build not forwarding osx sdk flags to the compiler
This commit is contained in:
parent
f5ec76c230
commit
8c6f67a164
4
deps/Boost/Boost.cmake
vendored
4
deps/Boost/Boost.cmake
vendored
@ -75,7 +75,9 @@ file(TO_NATIVE_PATH ${DESTDIR}/usr/local/ _prefix)
|
|||||||
set(_boost_flags "")
|
set(_boost_flags "")
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
set(_boost_flags "cflags=-fPIC;cxxflags=-fPIC")
|
set(_boost_flags "cflags=-fPIC;cxxflags=-fPIC")
|
||||||
elseif(APPLE)
|
endif ()
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
set(_boost_flags
|
set(_boost_flags
|
||||||
"cflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
|
"cflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
|
||||||
"cxxflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
|
"cxxflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
|
||||||
|
Loading…
Reference in New Issue
Block a user