mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
Initial CMAKE file commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11744 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
15
cmake_modules/FindLibedit.cmake
Normal file
15
cmake_modules/FindLibedit.cmake
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
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}\"" )
|
Reference in New Issue
Block a user