File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Generated by `boostdep --cmake program_options`
1
2
# Copyright 2020, 2021 Peter Dimov
2
3
# Distributed under the Boost Software License, Version 1.0.
3
4
# https://www.boost.org/LICENSE_1_0.txt
4
5
5
- cmake_minimum_required (VERSION 3.5 ...3.16 )
6
+ cmake_minimum_required (VERSION 3.8 ...3.20 )
6
7
7
8
project (boost_program_options VERSION "${BOOST_SUPERPROJECT_VERSION} " LANGUAGES CXX )
8
9
@@ -42,10 +43,11 @@ target_link_libraries(boost_program_options
42
43
Boost::tokenizer
43
44
)
44
45
46
+ target_compile_features (boost_program_options PUBLIC cxx_std_11 )
47
+
45
48
target_compile_definitions (boost_program_options
46
49
PUBLIC BOOST_PROGRAM_OPTIONS_NO_LIB
47
- # Source files already define BOOST_PROGRAM_OPTIONS_SOURCE
48
- # PRIVATE BOOST_PROGRAM_OPTIONS_SOURCE
50
+ PRIVATE BOOST_PROGRAM_OPTIONS_SOURCE
49
51
)
50
52
51
53
if (BUILD_SHARED_LIBS )
You can’t perform that action at this time.
0 commit comments