mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 22:52:30 +02:00
test: fix build with Catch2 v2.x
Use smaller includes for Catch2 v3.
This commit is contained in:
@ -2,7 +2,11 @@
|
||||
|
||||
#include <glibmm.h>
|
||||
|
||||
#include <catch2/catch_all.hpp>
|
||||
#if __has_include(<catch2/catch_test_macros.hpp>)
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#else
|
||||
#include <catch2/catch.hpp>
|
||||
#endif
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
|
||||
|
Reference in New Issue
Block a user