Disable boost's automagical library rename feature for nowide, because we're building it.

This commit is contained in:
Joseph Lenox 2018-08-08 00:19:28 -05:00
parent 5449c1a325
commit 3d22fcdd22

View File

@ -429,6 +429,10 @@ IF (WIN32)
add_library(boost-nowide STATIC
${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)
# MinGW apparently has some multiple definitions of UUID-related items