diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-10 17:34:00 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-10 17:34:00 -0800 |
| commit | 50f6bc4e8f103c695f8754962dde0be03e32cbc5 (patch) | |
| tree | b3a48a56078b2d4b9a64af771311d773ae9c6712 /scripts | |
| parent | d02ee690dc422031bc9ea4d8665ec5ad40502abc (diff) | |
| download | vcpkg-50f6bc4e8f103c695f8754962dde0be03e32cbc5.tar.gz vcpkg-50f6bc4e8f103c695f8754962dde0be03e32cbc5.zip | |
[vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/vcpkg.cmake | 2 |
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) |
