File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ find_package(boost_json ${FIND_BOOST_PACKAGE_QUIET})
2626find_package (boost_optional ${FIND_BOOST_PACKAGE_QUIET} )
2727find_package (boost_variant ${FIND_BOOST_PACKAGE_QUIET} )
2828find_package (boost_regex ${FIND_BOOST_PACKAGE_QUIET} )
29+ find_package (boost_lexical_cast ${FIND_BOOST_PACKAGE_QUIET} )
2930
3031if (boost_algorithm_FOUND AND
3132 boost_filesystem_FOUND AND
@@ -40,8 +41,10 @@ if (boost_algorithm_FOUND AND
4041 imported_target_alias(boost_optional ALIAS boost_optional::boost_optional)
4142 imported_target_alias(boost_variant ALIAS boost_variant::boost_variant)
4243 imported_target_alias(boost_regex ALIAS boost_regex::boost_regex)
44+ imported_target_alias(boost_lexical_cast ALIAS boost_regex::lexical_cast)
45+
4346else ()
44- find_package (Boost COMPONENTS system filesystem numeric_conversion json regex ${FIND_BOOST_PACKAGE_QUIET} REQUIRED)
47+ find_package (Boost COMPONENTS system filesystem numeric_conversion json regex optional variant algorithm lexical_cast ${FIND_BOOST_PACKAGE_QUIET} REQUIRED)
4548
4649 if (Boost_FOUND)
4750 imported_target_alias(boost_algorithm ALIAS Boost::boost)
@@ -51,6 +54,7 @@ else ()
5154 imported_target_alias(boost_optional ALIAS Boost::boost)
5255 imported_target_alias(boost_variant ALIAS Boost::boost)
5356 imported_target_alias(boost_regex ALIAS Boost::regex )
57+ imported_target_alias(boost_lexical_cast ALIAS Boost::lexical_cast)
5458 endif ()
5559endif ()
5660
You can’t perform that action at this time.
0 commit comments