summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-20 19:22:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-12-20 19:22:05 (GMT)
commit7f8cf4236d523483560c500335a8644b5f769089 (patch)
tree00ae954fa6a4393e37a4e590372a0a1a7109c8a3 /Modules
parentcc9319e71785d021985b81cdb15df53a1eb5a994 (diff)
parentcdf522436f6623d8a2ded55aa3192a7041c7773b (diff)
downloadCMake-7f8cf4236d523483560c500335a8644b5f769089.zip
CMake-7f8cf4236d523483560c500335a8644b5f769089.tar.gz
CMake-7f8cf4236d523483560c500335a8644b5f769089.tar.bz2
Merge topic 'fix-12273-quote-arg-in-findboost'
cdf5224 FindBoost: Quote possibly empty string argument (#12273)
Diffstat (limited to 'Modules')
-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()