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")
33add_library (errors_format src/format.cpp)
44target_include_directories (errors_format PUBLIC include )
55target_link_libraries (errors_format PUBLIC errors fmt)
6- target_compile_features (errors_format PRIVATE cxx_std_20)
76
87if (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 )
You can’t perform that action at this time.
0 commit comments