From 50f6bc4e8f103c695f8754962dde0be03e32cbc5 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 10 Nov 2017 17:34:00 -0800 Subject: [vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130. --- scripts/buildsystems/vcpkg.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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) -- cgit v1.2.3