Skip to content

Commit d462d55

Browse files
committed
Rebased and minor fixes after review
1 parent d744137 commit d462d55

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ set_target_properties(
5555
beman.inplace_vector
5656
PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON
5757
)
58-
target_compile_features(
59-
beman.inplace_vector
60-
INTERFACE
61-
"$<$<COMPILE_FEATURES:cxx_std_23>:cxx_std_23>"
62-
"$<$<NOT:$<COMPILE_FEATURES:cxx_std_23>>:cxx_std_20>"
63-
)
58+
target_compile_features(beman.inplace_vector INTERFACE cxx_std_23)
6459

6560
set(TARGET_PACKAGE_NAME ${PROJECT_NAME}-config)
6661
set(TARGETS_EXPORT_NAME ${PROJECT_NAME}-targets)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ TODO: tested platforms.
7070
7171
```text
7272
# Configure build
73-
$ cmake -S . -B build -DCMAKE_CXX_STANDARD=20
73+
$ cmake -S . -B build -DCMAKE_CXX_STANDARD=23
7474
-- The CXX compiler identification is GNU 11.4.0
7575
-- Detecting CXX compiler ABI info
7676
-- Detecting CXX compiler ABI info - done

0 commit comments

Comments
 (0)