Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f3ae2c1788
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.585 kB
# Base Io build system
# Written by Jeremy Tregunna <jeremy.tregunna@me.com>
#
# Find libedit
FIND_PATH(EDIT_INCLUDE_DIR histedit.h)
SET(EDIT_NAMES ${EDIT_NAMES} edit libedit)
FIND_LIBRARY(EDIT_LIBRARY NAMES ${EDIT_NAMES} PATH)
IF(EDIT_INCLUDE_DIR AND EDIT_LIBRARY)
SET(EDIT_FOUND TRUE)
ENDIF(EDIT_INCLUDE_DIR AND EDIT_LIBRARY)
IF(EDIT_FOUND)
IF(NOT EDIT_FIND_QUIETLY)
MESSAGE(STATUS "Found EDIT: ${EDIT_LIBRARY}")
ENDIF (NOT EDIT_FIND_QUIETLY)
ELSE(EDIT_FOUND)
IF(EDIT_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find EDIT")
ENDIF(EDIT_FIND_REQUIRED)
ENDIF(EDIT_FOUND)
Jump to Line
Something went wrong with that request. Please try again.