From 99081590a59d1f3cf04b56673f6d68d3cc0e86dd Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Mon, 11 Aug 2014 23:11:13 +0900 Subject: [PATCH] wrap variable expantion with ${} --- contrib/10.readline/cmake/FindLibedit.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/10.readline/cmake/FindLibedit.cmake b/contrib/10.readline/cmake/FindLibedit.cmake index 32de3aa7..b24432ff 100644 --- a/contrib/10.readline/cmake/FindLibedit.cmake +++ b/contrib/10.readline/cmake/FindLibedit.cmake @@ -45,14 +45,13 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS) ) if (Libedit_EDITLINE_INCLUDE_DIR) set(Libedit_INCLUDE_DIR_SUFFIX editline) - set(Libedit_INCLUDE_DIR Libedit_EDITLINE_INCLUDE_DIR) + set(Libedit_INCLUDE_DIR ${Libedit_EDITLINE_INCLUDE_DIR}) else (Libedit_EDITLINE_INCLUDE_DIR) find_path(Libedit_READLINE_INCLUDE_DIR NAMES readline.h history.h PATHS - ${_Libedit_INCLUDEDIR}/edit /usr/include/edit /usr/local/include/edit /opt/local/include/edit @@ -62,7 +61,7 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS) ) if (Libedit_READLINE_INCLUDE_DIR) set(Libedit_INCLUDE_DIR_SUFFIX readline) - set(Libedit_INCLUDE_DIR Libedit_READLINE_INCLUDE_DIR) + set(Libedit_INCLUDE_DIR ${Libedit_READLINE_INCLUDE_DIR}) endif (Libedit_READLINE_INCLUDE_DIR) endif (Libedit_EDITLINE_INCLUDE_DIR)