aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--um/wrappers/simple/utils/CMakeLists.txt2
-rw-r--r--um/wrappers/special/nt_path_converter/utils/CMakeLists.txt6
-rw-r--r--um/wrappers/special/nt_path_converter/utils/convert_nt_path.cpp2
3 files changed, 7 insertions, 3 deletions
diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt
index 8824e3e..2a653fe 100644
--- a/um/wrappers/simple/utils/CMakeLists.txt
+++ b/um/wrappers/simple/utils/CMakeLists.txt
@@ -1,2 +1,2 @@
add_executable(exchange_ints exchange_ints.cpp)
-target_link_libraries(exchange_ints libsimple)
+target_link_libraries(exchange_ints PRIVATE libsimple)
diff --git a/um/wrappers/special/nt_path_converter/utils/CMakeLists.txt b/um/wrappers/special/nt_path_converter/utils/CMakeLists.txt
index 9915995..9c5254b 100644
--- a/um/wrappers/special/nt_path_converter/utils/CMakeLists.txt
+++ b/um/wrappers/special/nt_path_converter/utils/CMakeLists.txt
@@ -1,2 +1,6 @@
add_executable(convert_nt_path convert_nt_path.cpp)
-target_link_libraries(convert_nt_path libnt_path_converter)
+target_link_libraries(convert_nt_path PRIVATE libnt_path_converter)
+if(MINGW)
+ target_compile_options(convert_nt_path PRIVATE -municode)
+ target_link_libraries(convert_nt_path PRIVATE -municode)
+endif()
diff --git a/um/wrappers/special/nt_path_converter/utils/convert_nt_path.cpp b/um/wrappers/special/nt_path_converter/utils/convert_nt_path.cpp
index 0055db2..9d25242 100644
--- a/um/wrappers/special/nt_path_converter/utils/convert_nt_path.cpp
+++ b/um/wrappers/special/nt_path_converter/utils/convert_nt_path.cpp
@@ -18,7 +18,7 @@ int wmain(int argc, wchar_t* argv[])
}
catch (const std::exception& e)
{
- std::wcerr << e.what() << "\n";
+ std::cerr << e.what() << "\n";
return 1;
}