view src/msvc-build-cmake-1.patch @ 4654:b9e4ebcad82f

disable doc extraction for optim package Disable the rules for extracting doc strings because they don't work when cross compiling. Our patches to the source files don't touch the doc strings, so there is no need to update them anyway.
author John W. Eaton <jwe@octave.org>
date Tue, 10 Apr 2018 07:50:10 -0400
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 "")