Просмотр исходного кода

FindBoost: Quote possibly empty string argument (#12273)

Author: Claudio Bley
David Cole 14 лет назад
Родитель
Сommit
cdf522436f
1 измененных файлов с 1 добавлено и 1 удалено
  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()