From f56802695e41fa8dab72542f1e32d8ed224bc72e Mon Sep 17 00:00:00 2001 From: kunitoki Date: Fri, 26 Apr 2024 22:34:43 +0200 Subject: [PATCH] Fix emscripten for now --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dd801ec..f14b95dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,9 @@ if (YUP_BUILD_EXAMPLES) message (STATUS "YUP -- Building examples") add_subdirectory (examples/app) add_subdirectory (examples/console) - add_subdirectory (examples/render) + if (NOT "${yup_platform}" STREQUAL "emscripten") + add_subdirectory (examples/render) + endif() endif() if (YUP_BUILD_TESTS)