diff --git a/server/scsynth/CMakeLists.txt b/server/scsynth/CMakeLists.txt index 778737ae5c0..dccbe6479d9 100644 --- a/server/scsynth/CMakeLists.txt +++ b/server/scsynth/CMakeLists.txt @@ -259,6 +259,7 @@ if(APPLE) COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $/../Resources) elseif(WIN32) if(NOT MSVC) + target_link_libraries(scsynth "-municode") set_target_properties(scsynth libscsynth PROPERTIES RUNTIME_OUTPUT_DIRECTORY "$") endif(NOT MSVC) diff --git a/server/supernova/CMakeLists.txt b/server/supernova/CMakeLists.txt index 67acbfc44af..6405ce597bb 100644 --- a/server/supernova/CMakeLists.txt +++ b/server/supernova/CMakeLists.txt @@ -206,6 +206,7 @@ target_link_libraries(supernova libsupernova) if(WIN32) if(NOT MSVC) + target_link_libraries(supernova "-municode") set_target_properties(supernova libsupernova PROPERTIES RUNTIME_OUTPUT_DIRECTORY "$") endif(NOT MSVC)