wrap variable expantion with ${}

This commit is contained in:
Sunrim KIM (keen) 2014-08-11 23:11:13 +09:00
parent 5097c522e8
commit 99081590a5
1 changed files with 2 additions and 3 deletions

View File

@ -45,14 +45,13 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS)
) )
if (Libedit_EDITLINE_INCLUDE_DIR) if (Libedit_EDITLINE_INCLUDE_DIR)
set(Libedit_INCLUDE_DIR_SUFFIX editline) 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) else (Libedit_EDITLINE_INCLUDE_DIR)
find_path(Libedit_READLINE_INCLUDE_DIR find_path(Libedit_READLINE_INCLUDE_DIR
NAMES NAMES
readline.h readline.h
history.h history.h
PATHS PATHS
${_Libedit_INCLUDEDIR}/edit
/usr/include/edit /usr/include/edit
/usr/local/include/edit /usr/local/include/edit
/opt/local/include/edit /opt/local/include/edit
@ -62,7 +61,7 @@ else (Libedit_LIBRARIES AND Libedit_INCLUDE_DIRS)
) )
if (Libedit_READLINE_INCLUDE_DIR) if (Libedit_READLINE_INCLUDE_DIR)
set(Libedit_INCLUDE_DIR_SUFFIX readline) 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_READLINE_INCLUDE_DIR)
endif (Libedit_EDITLINE_INCLUDE_DIR) endif (Libedit_EDITLINE_INCLUDE_DIR)