Fix benchmarking in stand-alone files

This commit is contained in:
Martin Hořeňovský 2019-06-17 11:58:40 +02:00
parent f9dce28e7d
commit 25cc09dcec
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@
#include "internal/catch_objc.hpp" #include "internal/catch_objc.hpp"
#endif #endif
#ifdef CATCH_CONFIG_EXTERNAL_INTERFACES // Benchmarking needs the externally-facing parts of reporters to work
#if defined(CATCH_CONFIG_EXTERNAL_INTERFACES) || defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
#include "internal/catch_external_interfaces.h" #include "internal/catch_external_interfaces.h"
#endif #endif