summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/Cygwin/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Release/Cygwin/CMakeLists.txt')
-rw-r--r--Utilities/Release/Cygwin/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/Release/Cygwin/CMakeLists.txt b/Utilities/Release/Cygwin/CMakeLists.txt
index 6a45361..c59a6fa 100644
--- a/Utilities/Release/Cygwin/CMakeLists.txt
+++ b/Utilities/Release/Cygwin/CMakeLists.txt
@@ -5,9 +5,9 @@ foreach(f ${INSTALLED_CURSES})
string(REGEX REPLACE ".*-([0-9]*).dll" "\\1" NUMBER "${f}")
if(NUMBER GREATER MAX)
set(MAX ${NUMBER})
- endif(NUMBER GREATER MAX)
- endif(NOT "${f}" MATCHES "\\+")
-endforeach(f)
+ endif()
+ endif()
+endforeach()
string(REGEX REPLACE "/usr/bin/" "\\1" NUMBER "${f}")
set(CMAKE_NCURSES_VERSION "libncurses${MAX}")
message(STATUS "Using curses version: libncurses${MAX}")