File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,6 @@ function(add_boost_if_needed)
3636 # We don't use multi_index serialization.
3737 BOOST_MULTI_INDEX_DISABLE_SERIALIZATION
3838 )
39- if (DEFINED VCPKG_TARGET_TRIPLET)
40- # Workaround for https://github.com/microsoft/vcpkg/issues/36955.
41- target_compile_definitions (Boost::headers INTERFACE
42- BOOST_NO_USER_CONFIG
43- )
44- endif ()
4539
4640 # Prevent use of std::unary_function, which was removed in C++17,
4741 # and will generate warnings with newer compilers for Boost
@@ -62,10 +56,4 @@ function(add_boost_if_needed)
6256 )
6357 endif ()
6458
65- # Some package managers, such as vcpkg, vendor Boost.Test separately
66- # from the rest of the headers, so we have to check for it individually.
67- if (BUILD_TESTS AND DEFINED VCPKG_TARGET_TRIPLET)
68- find_package (boost_included_unit_test_framework ${Boost_VERSION} EXACT REQUIRED CONFIG )
69- endif ()
70-
7159endfunction ()
You can’t perform that action at this time.
0 commit comments