Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-18 17:28:19 +0100
committerMartin Hořeňovský2019-12-18 17:30:08 +0100
commita4c31ecd16076f8c95489f02c82f3db1fe0c43ec (patch)
tree1423220efeffd51d02e978b315f5144b9aabd689
parent1cc05122d7a97723d8081cd84b6b46abdeab4058 (diff)
downloadcatch3-a4c31ecd16076f8c95489f02c82f3db1fe0c43ec.tar.gz
Small CMakeLists cleanup
-rw-r--r--tests/CMakeLists.txt29
1 files changed, 1 insertions, 28 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index f65f5100..3f3ca8ef 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -75,7 +75,7 @@ set(HEADERS
${EXTERNAL_HEADERS}
${INTERNAL_HEADERS}
${REPORTER_HEADERS}
- ${BENCHMARK_HEADERS}
+ ${BENCHMARK_HEADERS}
${BENCHMARK_SOURCES}
)
@@ -89,33 +89,6 @@ include(CTest)
add_executable(SelfTest ${TEST_SOURCES})
target_link_libraries(SelfTest PRIVATE Catch2)
-# It took CMake until 3.8 to abandon the doomed approach of enumerating
-# required features so we just list bunch of C++11 and C++14 features.
-target_compile_features(SelfTest
- PRIVATE
- cxx_alignas
- cxx_alignof
- cxx_attributes
- cxx_auto_type
- cxx_constexpr
- cxx_defaulted_functions
- cxx_deleted_functions
- cxx_final
- cxx_lambdas
- cxx_noexcept
- cxx_override
- cxx_range_for
- cxx_rvalue_references
- cxx_static_assert
- cxx_strong_enums
- cxx_trailing_return_types
- cxx_unicode_literals
- cxx_user_literals
- cxx_variadic_macros
- cxx_variable_templates
-)
-
-
if (CATCH_ENABLE_COVERAGE)
set(ENABLE_COVERAGE ON CACHE BOOL "Enable coverage build." FORCE)
find_package(codecov)