summaryrefslogtreecommitdiff
path: root/cmake/Modules/GrBoost.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/GrBoost.cmake')
-rw-r--r--cmake/Modules/GrBoost.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/GrBoost.cmake b/cmake/Modules/GrBoost.cmake
index 38cb027f8..01378df66 100644
--- a/cmake/Modules/GrBoost.cmake
+++ b/cmake/Modules/GrBoost.cmake
@@ -39,6 +39,8 @@ if(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
endif(UNIX AND NOT BOOST_ROOT AND EXISTS "/usr/lib64")
if(MSVC)
+ set(BOOST_REQUIRED_COMPONENTS ${BOOST_REQUIRED_COMPONENTS} chrono)
+
if (NOT DEFINED BOOST_ALL_DYN_LINK)
set(BOOST_ALL_DYN_LINK TRUE)
endif()