File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,18 @@ cpmaddpackage("gh:fmtlib/fmt#10.0.0")
3
3
add_library (errors_format src/format.cpp )
4
4
target_include_directories (errors_format PUBLIC include )
5
5
target_link_libraries (errors_format PUBLIC errors fmt )
6
- target_compile_features (errors_format PRIVATE cxx_std_20 )
7
6
8
7
if (NOT_SUBPROJECT )
9
8
if (BUILD_TESTING )
10
9
# Append the main library properties instead of linking the library.
11
10
get_target_property (errors_format_SOURCES errors_format SOURCES )
12
11
get_target_property (errors_format_INCLUDES errors_format INCLUDE_DIRECTORIES )
13
12
get_target_property (errors_format_LIBRARIES errors_format LINK_LIBRARIES )
14
- get_target_property (errors_format_FEATURES errors_format COMPILE_FEATURES )
15
13
16
14
# Build tests for the main library
17
15
add_executable (errors_format_test test /format_test.cpp ${errors_format_SOURCES} )
18
16
target_include_directories (errors_format_test PRIVATE ${errors_format_INCLUDES} )
19
17
target_link_libraries (errors_format_test PRIVATE Catch2::Catch2WithMain ${errors_format_LIBRARIES} )
20
- target_compile_features (errors_format_test PRIVATE ${errors_format_FEATURES} )
21
18
22
19
# Enable support to check for test coverage
23
20
if (NOT MSVC )
You can’t perform that action at this time.
0 commit comments