diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 51e9377..221486d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -84,11 +84,11 @@ else() add_subdirectory(ggwave-to-file) endif() -if (UNIX AND NOT APPLE) - add_subdirectory(r2t2) -endif() - if (GGWAVE_SUPPORT_SDL2) + if (UNIX AND NOT APPLE) + add_subdirectory(r2t2) + endif() + if (EMSCRIPTEN) # emscripten sdl2 examples