summaryrefslogtreecommitdiff
path: root/lib/catch2/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/catch2/CMakeLists.txt')
-rw-r--r--lib/catch2/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/catch2/CMakeLists.txt b/lib/catch2/CMakeLists.txt
index 1811c2d6..173a81ed 100644
--- a/lib/catch2/CMakeLists.txt
+++ b/lib/catch2/CMakeLists.txt
@@ -2,7 +2,6 @@
#
# SPDX-License-Identifier: GPL-3.0-only
-idf_component_register(
- SRCS "catch_runner.cpp"
- INCLUDE_DIRS "include"
- REQUIRES "console")
+idf_component_register(SRCS "catch_runner.cpp" INCLUDE_DIRS "include")
+
+target_compile_options(${COMPONENT_LIB} PUBLIC -DCATCH_CONFIG_NO_POSIX_SIGNALS -DCATCH_CONFIG_FAST_COMPILE -DCATCH_CONFIG_ENABLE_BENCHMARKING)