find exactly required header file
This commit is contained in:
parent
8cc74a6c87
commit
df471bd5a2
|
@ -32,7 +32,8 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS)
|
||||||
endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
|
endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
|
||||||
find_path(Libedit_INCLUDE_DIR
|
find_path(Libedit_INCLUDE_DIR
|
||||||
NAMES
|
NAMES
|
||||||
histedit.h
|
readline.h
|
||||||
|
history.h
|
||||||
PATHS
|
PATHS
|
||||||
${_Libedit_INCLUDEDIR}
|
${_Libedit_INCLUDEDIR}
|
||||||
/usr/include
|
/usr/include
|
||||||
|
|
Loading…
Reference in New Issue