summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-19 15:54:04 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-12-19 15:55:41 (GMT)
commitcdf522436f6623d8a2ded55aa3192a7041c7773b (patch)
tree773a62b99d5aadef35181a3e117d24a0bdd8913b /Modules/FindBoost.cmake
parent4bb3edfcb49db58d4683b4c6757eb251fd778e6c (diff)
downloadCMake-cdf522436f6623d8a2ded55aa3192a7041c7773b.zip
CMake-cdf522436f6623d8a2ded55aa3192a7041c7773b.tar.gz
CMake-cdf522436f6623d8a2ded55aa3192a7041c7773b.tar.bz2
FindBoost: Quote possibly empty string argument (#12273)
Author: Claudio Bley
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index ea60354..9c03b3d 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()