From 95d140298a867bdf037f6657e3c92125fcaf1b0a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 4 Aug 2015 16:20:44 +0100 Subject: [PATCH] Use unquoted expansion. --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ec59b073..e20c93cf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -320,8 +320,8 @@ MACRO(ProcessPackage PKG_NAME) IF(NOT ${PKG_NAME}_GUESSED) # Try some more heuristic FIND_LIBRARY(_lib NAMES ${PKG_LIBRARY} - HINTS "${PKG_ROOT}" "${RSPAMD_SEARCH_PATH}" - PATH_SUFFIXES "${PKG_LIB_SUFFIXES}" lib64 lib + HINTS ${PKG_ROOT} ${RSPAMD_SEARCH_PATH} + PATH_SUFFIXES ${PKG_LIB_SUFFIXES} lib64 lib PATHS ${RSPAMD_DEFAULT_LIBRARY_PATHS}) IF(NOT _lib) IF(OPTIONAL) @@ -331,10 +331,10 @@ MACRO(ProcessPackage PKG_NAME) ENDIF() ENDIF(NOT _lib) - FIND_PATH(_incl "${PKG_INCLUDE}" - HINTS "${PKG_ROOT}" "${RSPAMD_SEARCH_PATH}" - PATH_SUFFIXES "${PKG_INCLUDE_SUFFIXES}" "include" - PATHS ${RSPAMD_DEFAULT_INCLUDE_PATHS}) + FIND_PATH(_incl ${PKG_INCLUDE} + HINTS ${PKG_ROOT} ${RSPAMD_SEARCH_PATH} + PATH_SUFFIXES ${PKG_INCLUDE_SUFFIXES} include + PATHS {RSPAMD_DEFAULT_INCLUDE_PATHS}) IF(NOT _incl) IF(OPTIONAL) MESSAGE("Cannot find header ${PKG_INCLUDE} for package ${PKG_NAME}") -- 2.39.5