summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-19 10:54:04 -0500
committerDavid Cole <david.cole@kitware.com>2011-12-19 10:55:41 -0500
commitcdf522436f6623d8a2ded55aa3192a7041c7773b (patch)
tree773a62b99d5aadef35181a3e117d24a0bdd8913b
parent4bb3edfcb49db58d4683b4c6757eb251fd778e6c (diff)
downloadcmake-cdf522436f6623d8a2ded55aa3192a7041c7773b.tar.gz
FindBoost: Quote possibly empty string argument (#12273)
Author: Claudio Bley
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index ea60354bab..9c03b3d1de 100644
--- a/Modules/FindBoost.cmake
+++ b/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()