aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake7
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()