summaryrefslogtreecommitdiff
path: root/CMake/Modules/FindCurses.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/Modules/FindCurses.cmake')
-rw-r--r--CMake/Modules/FindCurses.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/CMake/Modules/FindCurses.cmake b/CMake/Modules/FindCurses.cmake
index 3107d758..468eff8e 100644
--- a/CMake/Modules/FindCurses.cmake
+++ b/CMake/Modules/FindCurses.cmake
@@ -23,10 +23,10 @@ IF(CURSES_NEED_WIDE)
ENDIF(CURSES_NEED_WIDE)
FIND_LIBRARY(CURSES_CURSES_LIBRARY "${CURSES_LIBRARY_NAME}")
-# MESSAGE(STATUS "CURSES! " ${CURSES_CURSES_LIBRARY})
+#MESSAGE(STATUS "CURSES! " ${CURSES_CURSES_LIBRARY})
FIND_LIBRARY(CURSES_NCURSES_LIBRARY "${NCURSES_LIBRARY_NAME}")
-# MESSAGE(STATUS "NCURSES! " ${CURSES_NCURSES_LIBRARY})
+#MESSAGE(STATUS "NCURSES! " ${CURSES_NCURSES_LIBRARY})
SET(CURSES_USE_NCURSES FALSE)
@@ -58,7 +58,6 @@ IF(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES)
SET(CURSES_USE_NCURSES TRUE)
ENDIF( CURSES_NCURSES_HAS_WSYNCUP)
ENDIF(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_HAS_WSYNCUP)
-
ENDIF(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES)
@@ -104,7 +103,6 @@ ELSE(NOT CURSES_USE_NCURSES)
# only put ncurses include and library into
# variables if they are found
IF(CURSES_NCURSES_INCLUDE_PATH AND CURSES_NCURSES_LIBRARY)
-
SET(CURSES_INCLUDE_PATH "${CURSES_NCURSES_INCLUDE_PATH} ${CURSES_NCURSESW_INCLUDE_PATH}"
CACHE FILEPATH "The curses include path")
SET(CURSES_LIBRARY "${CURSES_NCURSES_LIBRARY}"