mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-29 15:11:48 +00:00
On Windows, build the updater with UNICODE and _UNICODE not set
FileUtils and DirIterator currently assume that the Windows file manipulation calls accept a char* MD-19678 #time 10m
This commit is contained in:
parent
6a56b5cddc
commit
4df97c84e1
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ include_directories(external/win32cpp/include)
|
|||
# so that the executable can function standalone
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
|
||||
remove_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
else()
|
||||
# optimize for reduced code size
|
||||
|
|
Loading…
Reference in a new issue