mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
try remove libncurses5
This commit is contained in:
parent
750ee9e6fd
commit
794a44e8ff
@ -19,19 +19,19 @@ ENDIF(UNIX)
|
||||
if (TARS_MYSQL)
|
||||
add_definitions(-DTARS_MYSQL=1)
|
||||
|
||||
IF(UNIX AND NOT APPLE)
|
||||
FIND_PACKAGE(Curses)
|
||||
IF(NOT CURSES_FOUND)
|
||||
SET(ERRORMSG "Curses library not found. Please install appropriate package,
|
||||
remove CMakeCache.txt and rerun cmake.")
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
SET(ERRORMSG ${ERRORMSG}
|
||||
"On Debian/Ubuntu, package name is libncurses5-dev(apt-get install libncurses5-dev), on Redhat/Centos and derivates "
|
||||
"it is ncurses-devel (yum install ncurses-devel).")
|
||||
ENDIF()
|
||||
MESSAGE(FATAL_ERROR ${ERRORMSG})
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
# IF(UNIX AND NOT APPLE)
|
||||
# FIND_PACKAGE(Curses)
|
||||
# IF(NOT CURSES_FOUND)
|
||||
# SET(ERRORMSG "Curses library not found. Please install appropriate package,
|
||||
# remove CMakeCache.txt and rerun cmake.")
|
||||
# IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
# SET(ERRORMSG ${ERRORMSG}
|
||||
# "On Debian/Ubuntu, package name is libncurses5-dev(apt-get install libncurses5-dev), on Redhat/Centos and derivates "
|
||||
# "it is ncurses-devel (yum install ncurses-devel).")
|
||||
# ENDIF()
|
||||
# MESSAGE(FATAL_ERROR ${ERRORMSG})
|
||||
# ENDIF()
|
||||
# ENDIF()
|
||||
|
||||
endif ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user