FindBoost: Quote possibly empty string argument (#12273)

Author: Claudio Bley
This commit is contained in:
David Cole 2011-12-19 10:54:04 -05:00
parent 4bb3edfcb4
commit cdf522436f
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()