소스 검색

FindBoost: Quote possibly empty string argument (#12273)

Author: Claudio Bley
David Cole 14 년 전
부모
커밋
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()