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:
Shane Burrell
2009-02-11 02:53:31 +00:00
parent af4aa9b2dd
commit 3634615e2d
4 changed files with 149 additions and 0 deletions

View 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}\"" )