mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 11:53:03 +08:00
Reset settings to find boost libraries
Reset the settings to find the boost libraries that installed by vcpkg. vcpkg will always rename to Boost libraries name that able to be find with default settings of FindBoost.cmake.
This commit is contained in:
parent
330b8d8bab
commit
07e4e674f0
@ -155,6 +155,8 @@ endfunction()
|
||||
macro(find_package name)
|
||||
if(name STREQUAL "Boost")
|
||||
unset(Boost_USE_STATIC_LIBS)
|
||||
unset(Boost_USE_MULTITHREADED)
|
||||
unset(Boost_USE_STATIC_RUNTIME)
|
||||
endif()
|
||||
_find_package(${ARGV})
|
||||
endmacro()
|
||||
|
Loading…
Reference in New Issue
Block a user