We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b995e26 commit e950407Copy full SHA for e950407
tests/cpp/CMakeLists.txt
@@ -18,7 +18,7 @@ add_library(mytarget INTERFACE IMPORTED)
18
target_link_libraries(mytarget INTERFACE
19
${PROJECT_NAME}
20
${PROJECT_NAME}::compiler_warnings
21
- Catch2::Catch2)
+ Catch2::Catch2WithMain)
22
23
file(GLOB APP_SOURCES *.cpp)
24
tests/cpp/main.cpp
@@ -1,5 +1,4 @@
1
-#define CATCH_CONFIG_MAIN // tells Catch to provide a main() - only do this in one cpp file
2
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
3
4
#include <cppcolormap.h>
5
0 commit comments