Merge topic 'fix-12273-quote-arg-in-findboost'

cdf5224 FindBoost: Quote possibly empty string argument (#12273)
This commit is contained in:
David Cole 2011-12-20 14:22:05 -05:00 committed by CMake Topic Stage
commit 7f8cf4236d
1 changed files with 1 additions and 1 deletions

View File

@ -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()