Skip to content

Commit dbec456

Browse files
committed
Regenerate CMakeLists.txt
1 parent 9f29f8e commit dbec456

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
# Generated by `boostdep --cmake program_options`
12
# Copyright 2020, 2021 Peter Dimov
23
# Distributed under the Boost Software License, Version 1.0.
34
# https://www.boost.org/LICENSE_1_0.txt
45

5-
cmake_minimum_required(VERSION 3.5...3.16)
6+
cmake_minimum_required(VERSION 3.8...3.20)
67

78
project(boost_program_options VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
89

@@ -42,10 +43,11 @@ target_link_libraries(boost_program_options
4243
Boost::tokenizer
4344
)
4445

46+
target_compile_features(boost_program_options PUBLIC cxx_std_11)
47+
4548
target_compile_definitions(boost_program_options
4649
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
4951
)
5052

5153
if(BUILD_SHARED_LIBS)

0 commit comments

Comments
 (0)