diff options
author | Chris Robinson <[email protected]> | 2017-08-20 01:39:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-20 01:50:27 -0700 |
commit | 051828344ecaeff0140034693e3f63355f490e9b (patch) | |
tree | 7558878fe72f9f1033809f4ab6f6145fad281cea /CMakeLists.txt | |
parent | 3e56e7f562845829db30292c822d06a85111e4a3 (diff) |
Improve unicode handling for makehrtf
Command line parameters and filenames are now unicode-aware (the .def files
should be UTF-8 encoded, if they contain any non-ASCII-7 characters). Unicode
characters might not display correctly in the console, but it should process
them correctly.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63c2411b..5adfac25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1399,6 +1399,9 @@ IF(ALSOFT_UTILS) IF(HAVE_LIBM) TARGET_LINK_LIBRARIES(makehrtf m) ENDIF() + IF(WIN32 AND CMAKE_COMPILER_IS_GNUCC) + SET_PROPERTY(TARGET makehrtf APPEND_STRING PROPERTY LINK_FLAGS " -municode") + ENDIF() ADD_EXECUTABLE(bsincgen utils/bsincgen.c) SET_PROPERTY(TARGET bsincgen APPEND PROPERTY COMPILE_FLAGS ${EXTRA_CFLAGS}) |