mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-24 19:59:43 +00:00
[vcpkg] Force compiler character set to UTF-8. Fixes #141.
This commit is contained in:
parent
43d9bc0520
commit
325a50f54b
@ -32,6 +32,11 @@ function(vcpkg_configure_cmake)
|
||||
list(APPEND _csc_OPTIONS -DBUILD_SHARED_LIBS=ON)
|
||||
endif()
|
||||
|
||||
list(APPEND _csc_OPTIONS
|
||||
"-DCMAKE_CXX_FLAGS= /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc"
|
||||
"-DCMAKE_C_FLAGS= /DWIN32 /D_WINDOWS /W3 /utf-8"
|
||||
)
|
||||
|
||||
list(APPEND _csc_OPTIONS_RELEASE
|
||||
"-DCMAKE_CXX_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG /Zi"
|
||||
"-DCMAKE_C_FLAGS_RELEASE=/MD /O2 /Oi /Gy /DNDEBUG /Zi"
|
||||
|
Loading…
Reference in New Issue
Block a user