From 922619988d0392d365bc48767183a218baf0def9 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 7 Oct 2023 17:42:22 +0800 Subject: Recover build. Remove test discovery in emscripten. --- test/platform/CMakeLists.txt | 2 +- test/platform/graphics/cairo/CMakeLists.txt | 2 +- test/platform/graphics/direct2d/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test/platform') diff --git a/test/platform/CMakeLists.txt b/test/platform/CMakeLists.txt index 6a26214b..6a6f81e5 100644 --- a/test/platform/CMakeLists.txt +++ b/test/platform/CMakeLists.txt @@ -12,4 +12,4 @@ if (UNIX AND NOT EMSCRIPTEN) add_subdirectory(graphics/cairo) endif() -catch_discover_tests(CruPlatformBaseTest) +cru_catch_discover_tests(CruPlatformBaseTest) diff --git a/test/platform/graphics/cairo/CMakeLists.txt b/test/platform/graphics/cairo/CMakeLists.txt index 5d055aa2..273e6ebd 100644 --- a/test/platform/graphics/cairo/CMakeLists.txt +++ b/test/platform/graphics/cairo/CMakeLists.txt @@ -3,4 +3,4 @@ add_executable(CruPlatformGraphicsCairoTest ) target_link_libraries(CruPlatformGraphicsCairoTest PRIVATE CruPlatformGraphicsCairo CruTestBase) -catch_discover_tests(CruPlatformGraphicsCairoTest) +cru_catch_discover_tests(CruPlatformGraphicsCairoTest) diff --git a/test/platform/graphics/direct2d/CMakeLists.txt b/test/platform/graphics/direct2d/CMakeLists.txt index 66a07d15..db740b3d 100644 --- a/test/platform/graphics/direct2d/CMakeLists.txt +++ b/test/platform/graphics/direct2d/CMakeLists.txt @@ -3,4 +3,4 @@ add_executable(CruPlatformGraphicsDirect2dTest ) target_link_libraries(CruPlatformGraphicsDirect2dTest PRIVATE CruPlatformGraphicsDirect2d CruTestBase) -catch_discover_tests(CruPlatformGraphicsDirect2dTest) +cru_catch_discover_tests(CruPlatformGraphicsDirect2dTest) -- cgit v1.2.3