From 5feb199afc45bac6d1cd50323f28da61ce211dd0 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 12 Oct 2022 21:54:46 +0800 Subject: Implement file stream constructor on emscripten. --- test/common/CMakeLists.txt | 2 +- test/platform/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt index b3436105..85049357 100644 --- a/test/common/CMakeLists.txt +++ b/test/common/CMakeLists.txt @@ -7,7 +7,7 @@ add_executable(CruBaseTest ) target_link_libraries(CruBaseTest PRIVATE CruBase CruTestBase) -if (UNIX) +if (UNIX AND NOT EMSCRIPTEN) target_sources(CruBaseTest PRIVATE platform/unix/UnixFileStreamTest.cpp ) diff --git a/test/platform/CMakeLists.txt b/test/platform/CMakeLists.txt index 01f6966b..6a26214b 100644 --- a/test/platform/CMakeLists.txt +++ b/test/platform/CMakeLists.txt @@ -8,7 +8,7 @@ if (WIN32) add_subdirectory(graphics/direct2d) endif() -if (UNIX) +if (UNIX AND NOT EMSCRIPTEN) add_subdirectory(graphics/cairo) endif() -- cgit v1.2.3