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

summaryrefslogtreecommitdiffhomepage
path: root/examples/020-TestCase-1.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-08 15:55:04 +0100
committerMartin Hořeňovský2019-12-08 15:55:04 +0100
commit70ef2f7f12c2c62714a2e926679172142ea150ff (patch)
tree8e4e09bcaded8a521285ce65258923c79eae9c7f /examples/020-TestCase-1.cpp
parent248f922465309caa549c126f795f909e8cd69a1e (diff)
downloadcatch3-70ef2f7f12c2c62714a2e926679172142ea150ff.tar.gz
Update building of examples for static lib
Diffstat (limited to 'examples/020-TestCase-1.cpp')
-rw-r--r--examples/020-TestCase-1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/020-TestCase-1.cpp b/examples/020-TestCase-1.cpp
index ab0249e4..76e25dad 100644
--- a/examples/020-TestCase-1.cpp
+++ b/examples/020-TestCase-1.cpp
@@ -4,7 +4,7 @@
// source code of Catch itself and reuse the resulting object file for linking.
// Let Catch provide main():
-#define CATCH_CONFIG_MAIN
+#include <catch2/catch_default_main.hpp>
#include <catch2/catch.hpp>