Merge pull request #126 from omasanori/findlibedit

Match the case of package name for find_package.
This commit is contained in:
Yuichi Nishiwaki 2014-06-06 21:16:53 +09:00
commit 12fdcc1920
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
list(APPEND REPL_LIBRARIES picrin) list(APPEND REPL_LIBRARIES picrin)
find_package(LIBEDIT) find_package(Libedit)
if (Libedit_FOUND) if (Libedit_FOUND)
include_directories(${Libedit_INCLUDE_DIRS}) include_directories(${Libedit_INCLUDE_DIRS})
add_definitions(${Libedit_DEFINITIONS} -DPIC_READLINE_FOUND=1) add_definitions(${Libedit_DEFINITIONS} -DPIC_READLINE_FOUND=1)