浏览代码

ENH: fix crashes in console apps

Bill Hoffman 24 年之前
父节点
当前提交
d06a01d825
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/CMakeBorlandWindowsSystemConfig.cmake

+ 1 - 1
Templates/CMakeBorlandWindowsSystemConfig.cmake

@@ -39,7 +39,7 @@ SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1" CACHE STRING
 SET (CMAKE_CXX_FLAGS_DEBUG "-Od -v" CACHE STRING
      "Flags used by the compiler during debug builds.")
 
-SET (CMAKE_LINKER_FLAGS "" CACHE STRING
+SET (CMAKE_LINKER_FLAGS "-tWM" CACHE STRING
      "Flags used by the linker.")
 
 SET (CMAKE_LINKER_FLAGS_DEBUG "-v" CACHE STRING