mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Set boost to use utf8 for system messages (in cmake). Fix of #5180.
This commit is contained in:
parent
24a8f832bc
commit
247f3a7dbe
3 changed files with 20 additions and 11 deletions
|
|
@ -229,7 +229,7 @@ if(WIN32)
|
|||
add_definitions(-D_USE_MATH_DEFINES -D_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
|
||||
if(MSVC)
|
||||
# BOOST_ALL_NO_LIB: Avoid the automatic linking of Boost libraries on Windows. Rather rely on explicit linking.
|
||||
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_USE_WINAPI_VERSION=0x601 )
|
||||
add_definitions(-DBOOST_ALL_NO_LIB -DBOOST_USE_WINAPI_VERSION=0x601 -DBOOST_SYSTEM_USE_UTF8 )
|
||||
endif(MSVC)
|
||||
endif(WIN32)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue