mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-28 05:30:22 +00:00
Fix installation failure when system Boost present (#5939)
Boost 1.70 introduces "native" cmake config scripts which are accidentally used when installing a vcpkg package. This only occurs when Boost 1.70 is installed in the system when the user uses `vcpkg install`. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
parent
e33ffb6f90
commit
0e4c999b21
@ -192,6 +192,7 @@ macro(find_package name)
|
||||
set(Boost_USE_STATIC_LIBS OFF)
|
||||
set(Boost_USE_MULTITHREADED ON)
|
||||
unset(Boost_USE_STATIC_RUNTIME)
|
||||
set(Boost_NO_BOOST_CMAKE ON)
|
||||
unset(Boost_USE_STATIC_RUNTIME CACHE)
|
||||
set(Boost_COMPILER "-vc140")
|
||||
_find_package(${ARGV})
|
||||
|
Loading…
Reference in New Issue
Block a user