[vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130.

This commit is contained in:
Robert Schumacher 2017-11-10 17:34:00 -08:00
parent d02ee690dc
commit 50f6bc4e8f

View File

@ -153,7 +153,7 @@ function(add_library name)
endfunction() endfunction()
macro(find_package name) macro(find_package name)
if(name STREQUAL "Boost") if("${name}" STREQUAL "Boost")
unset(Boost_USE_STATIC_LIBS) unset(Boost_USE_STATIC_LIBS)
unset(Boost_USE_MULTITHREADED) unset(Boost_USE_MULTITHREADED)
unset(Boost_USE_STATIC_RUNTIME) unset(Boost_USE_STATIC_RUNTIME)