From cdf522436f6623d8a2ded55aa3192a7041c7773b Mon Sep 17 00:00:00 2001 From: David Cole Date: Mon, 19 Dec 2011 10:54:04 -0500 Subject: [PATCH] FindBoost: Quote possibly empty string argument (#12273) Author: Claudio Bley --- Modules/FindBoost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index ea60354ba..9c03b3d1d 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -405,7 +405,7 @@ endfunction() # function(_Boost_PREPEND_LIST_WITH_THREADAPI _output) set(_orig_libnames ${ARGN}) - string(REPLACE "thread" "thread_${Boost_THREADAPI}" _threadapi_libnames ${_orig_libnames}) + string(REPLACE "thread" "thread_${Boost_THREADAPI}" _threadapi_libnames "${_orig_libnames}") set(${_output} ${_threadapi_libnames} ${_orig_libnames} PARENT_SCOPE) endfunction()