Files
MSYS2-packages/cmake/disable-curses-for-msys.patch
J. Peter Mugaas a5badda0b4 cmake 3.5.2 - Update to latest version, rekey all patches
Update to latest version
Rekey all patches
Hopefully have improvements from #584.
jsoncpp is dependency
2016-05-23 04:42:32 -04:00

13 lines
535 B
Diff

diff -aur cmake-3.5.2/CMakeLists.txt.orig-2 cmake-3.5.2/CMakeLists.txt
--- cmake-3.5.2/CMakeLists.txt.orig-2 2016-05-22 15:54:50.164818300 -0400
+++ cmake-3.5.2/CMakeLists.txt 2016-05-22 15:54:50.186949300 -0400
@@ -454,7 +454,7 @@
#---------------------------------------------------------------------
# Use curses?
- if (UNIX)
+ if (UNIX AND NOT MSYS)
# there is a bug in the Syllable libraries which makes linking ccmake fail, Alex
if(NOT CMAKE_SYSTEM_NAME MATCHES syllable)
set(CURSES_NEED_NCURSES TRUE)