r2t2 : do not build if SDL2 is not supported

This commit is contained in:
Georgi Gerganov
2021-06-25 16:33:24 +00:00
parent 6319dc356d
commit 94e033fd80

View File

@@ -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