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)