find exactly required header file

This commit is contained in:
Sunrim KIM (keen) 2014-08-11 15:16:00 +09:00
parent 8cc74a6c87
commit df471bd5a2
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS)
endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
find_path(Libedit_INCLUDE_DIR
NAMES
histedit.h
readline.h
history.h
PATHS
${_Libedit_INCLUDEDIR}
/usr/include