File tree 1 file changed +5
-1
lines changed
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})
26
26
find_package (boost_optional ${FIND_BOOST_PACKAGE_QUIET} )
27
27
find_package (boost_variant ${FIND_BOOST_PACKAGE_QUIET} )
28
28
find_package (boost_regex ${FIND_BOOST_PACKAGE_QUIET} )
29
+ find_package (boost_lexical_cast ${FIND_BOOST_PACKAGE_QUIET} )
29
30
30
31
if (boost_algorithm_FOUND AND
31
32
boost_filesystem_FOUND AND
@@ -40,8 +41,10 @@ if (boost_algorithm_FOUND AND
40
41
imported_target_alias(boost_optional ALIAS boost_optional::boost_optional)
41
42
imported_target_alias(boost_variant ALIAS boost_variant::boost_variant)
42
43
imported_target_alias(boost_regex ALIAS boost_regex::boost_regex)
44
+ imported_target_alias(boost_lexical_cast ALIAS boost_regex::lexical_cast)
45
+
43
46
else ()
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)
45
48
46
49
if (Boost_FOUND)
47
50
imported_target_alias(boost_algorithm ALIAS Boost::boost)
@@ -51,6 +54,7 @@ else ()
51
54
imported_target_alias(boost_optional ALIAS Boost::boost)
52
55
imported_target_alias(boost_variant ALIAS Boost::boost)
53
56
imported_target_alias(boost_regex ALIAS Boost::regex )
57
+ imported_target_alias(boost_lexical_cast ALIAS Boost::lexical_cast)
54
58
endif ()
55
59
endif ()
56
60
You can’t perform that action at this time.
0 commit comments