aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-10 17:34:00 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-11-10 17:34:00 -0800
commit50f6bc4e8f103c695f8754962dde0be03e32cbc5 (patch)
treeb3a48a56078b2d4b9a64af771311d773ae9c6712 /scripts/buildsystems
parentd02ee690dc422031bc9ea4d8665ec5ad40502abc (diff)
downloadvcpkg-50f6bc4e8f103c695f8754962dde0be03e32cbc5.tar.gz
vcpkg-50f6bc4e8f103c695f8754962dde0be03e32cbc5.zip
[vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130.
Diffstat (limited to 'scripts/buildsystems')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 68e29b87c..e3aa46b64 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -153,7 +153,7 @@ function(add_library name)
endfunction()
macro(find_package name)
- if(name STREQUAL "Boost")
+ if("${name}" STREQUAL "Boost")
unset(Boost_USE_STATIC_LIBS)
unset(Boost_USE_MULTITHREADED)
unset(Boost_USE_STATIC_RUNTIME)