Browse Source

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

cdf5224 FindBoost: Quote possibly empty string argument (#12273)
David Cole 14 years ago
parent
commit
7f8cf4236d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindBoost.cmake

+ 1 - 1
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()