mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 04:02:04 +08:00
Disable boost's automagical library rename feature for nowide, because we're building it.
This commit is contained in:
parent
5449c1a325
commit
3d22fcdd22
@ -429,6 +429,10 @@ IF (WIN32)
|
|||||||
add_library(boost-nowide STATIC
|
add_library(boost-nowide STATIC
|
||||||
${LIBDIR}/boost/nowide/iostream.cpp
|
${LIBDIR}/boost/nowide/iostream.cpp
|
||||||
)
|
)
|
||||||
|
if(MSVC)
|
||||||
|
# Tell boost pragmas to not rename nowide as we are building it
|
||||||
|
add_definitions(-DBOOST_NOWIDE_NO_LIB)
|
||||||
|
endif()
|
||||||
target_link_libraries(slic3r boost-nowide)
|
target_link_libraries(slic3r boost-nowide)
|
||||||
|
|
||||||
# MinGW apparently has some multiple definitions of UUID-related items
|
# MinGW apparently has some multiple definitions of UUID-related items
|
||||||
|
Loading…
x
Reference in New Issue
Block a user