3634615e2d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11744 d0543943-73ff-0310-b7d9-9358b9ac24b2
16 lines
546 B
CMake
16 lines
546 B
CMake
|
|
find_path(PATH_INC_EDIT NAMES "histedit.h" PATHS ${CMAKE_SOURCE_DIR}/libs/libedit/src/)
|
|
|
|
if( NOT PATH_INC_EDIT )
|
|
message(FATAL_ERROR"Unable to locate libedit include files" )
|
|
endif( NOT PATH_INC_EDIT )
|
|
|
|
find_library(PATH_LIB_EDIT NAMES "libedit.a" PATHS ${CMAKE_SOURCE_DIR}/libs/libedit/src/.libs/)
|
|
|
|
if( NOT PATH_LIB_EDIT )
|
|
message(FATAL_ERROR "Unable to locate libedit library file" )
|
|
endif( NOT PATH_LIB_EDIT )
|
|
|
|
MESSAGE( STATUS "PATH_INC_EDIT = \"${PATH_INC_EDIT}\"" )
|
|
MESSAGE( STATUS "PATH_LIB_EDIT = \"${PATH_LIB_EDIT}\"" )
|