mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130.
This commit is contained in:
parent
d02ee690dc
commit
50f6bc4e8f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user