diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-07-28 11:44:54 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-07-28 11:45:06 -0700 |
| commit | 63454f618996baefef3f60f90767cd4c02d7590d (patch) | |
| tree | caa3984071104aca076247ba263c3e30ca0d4ae9 /scripts | |
| parent | 313cd65ecde421383ab54beeb00ea653ec143677 (diff) | |
| download | vcpkg-63454f618996baefef3f60f90767cd4c02d7590d.tar.gz vcpkg-63454f618996baefef3f60f90767cd4c02d7590d.zip | |
[vcpkg-cmake] Always search for dynamic boost libraries
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/vcpkg.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 41bdb3e60..8fd08ffb6 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -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() |
