Skip to content

Commit 6780674

Browse files
committed
build(format): remove errors_format from being compiled with cxx_std_20
1 parent 190da01 commit 6780674

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/format/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@ cpmaddpackage("gh:fmtlib/fmt#10.0.0")
33
add_library(errors_format src/format.cpp)
44
target_include_directories(errors_format PUBLIC include)
55
target_link_libraries(errors_format PUBLIC errors fmt)
6-
target_compile_features(errors_format PRIVATE cxx_std_20)
76

87
if(NOT_SUBPROJECT)
98
if (BUILD_TESTING)
109
# Append the main library properties instead of linking the library.
1110
get_target_property(errors_format_SOURCES errors_format SOURCES)
1211
get_target_property(errors_format_INCLUDES errors_format INCLUDE_DIRECTORIES)
1312
get_target_property(errors_format_LIBRARIES errors_format LINK_LIBRARIES)
14-
get_target_property(errors_format_FEATURES errors_format COMPILE_FEATURES)
1513

1614
# Build tests for the main library
1715
add_executable(errors_format_test test/format_test.cpp ${errors_format_SOURCES})
1816
target_include_directories(errors_format_test PRIVATE ${errors_format_INCLUDES})
1917
target_link_libraries(errors_format_test PRIVATE Catch2::Catch2WithMain ${errors_format_LIBRARIES})
20-
target_compile_features(errors_format_test PRIVATE ${errors_format_FEATURES})
2118

2219
# Enable support to check for test coverage
2320
if(NOT MSVC)

0 commit comments

Comments
 (0)