view src/msvc-build-cmake-1.patch @ 5956:b8e9589b7794

octave-launch: Use Unicode strings in Windows API functions. * installer-files/octave-launch.c: Use wchar_t and Unicode Windows API functions. Use safe functions where applicable. * binary-dist-rules.mk: Compile as Unicode-aware executable.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 20 Nov 2021 14:09:41 +0100
parents d468ce1eb636
children
line wrap: on
line source

diff -ur cmake-2.8.9-orig/Modules/Platform/Windows.cmake cmake-2.8.9/Modules/Platform/Windows.cmake
--- cmake-2.8.9-orig/Modules/Platform/Windows.cmake	2012-08-09 14:15:19 -0400
+++ cmake-2.8.9/Modules/Platform/Windows.cmake	2013-07-17 09:59:10 -0400
@@ -8,6 +8,7 @@
 SET(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")          # .exe
 SET(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
+SET(CMAKE_LINK_LIBRARY_FLAG "")
 SET(CMAKE_DL_LIBS "")
 
 SET(CMAKE_FIND_LIBRARY_PREFIXES "")