[vcpkg-cmake] Always search for dynamic boost libraries

This commit is contained in:
Robert Schumacher 2017-07-28 11:44:54 -07:00
parent 313cd65ecd
commit 63454f6189

View File

@ -138,6 +138,13 @@ if(NOT VCPKG_TOOLCHAIN)
endif()
endfunction()
function(find_package name)
if(name STREQUAL "Boost")
unset(Boost_USE_STATIC_LIBS)
endif()
_find_package(${ARGV})
endfunction()
set(VCPKG_TOOLCHAIN ON)
endif()