aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
diff options
context:
space:
mode:
authorTsukasa Sugiura <t.sugiura0204@gmail.com>2017-11-06 04:33:35 +0900
committerTsukasa Sugiura <t.sugiura0204@gmail.com>2017-11-06 04:33:35 +0900
commit07e4e674f09e435ba2a444296bbc12814cc8428e (patch)
treeeedb4493a59ae7d6d82b55bb8abb51584bdfb85e /scripts/buildsystems
parent330b8d8bab6a3d07165bf7c05fea09a8e0d56348 (diff)
downloadvcpkg-07e4e674f09e435ba2a444296bbc12814cc8428e.tar.gz
vcpkg-07e4e674f09e435ba2a444296bbc12814cc8428e.zip
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.
Diffstat (limited to 'scripts/buildsystems')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 19fc99af7..68e29b87c 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -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()