diff --git a/examples/deprecation-warning/CMakeLists.txt b/examples/deprecation-warning/CMakeLists.txt index f845e6cc..55cef032 100644 --- a/examples/deprecation-warning/CMakeLists.txt +++ b/examples/deprecation-warning/CMakeLists.txt @@ -1,4 +1,6 @@ add_executable(main ./deprecation-warning.cpp) add_executable(bench ./deprecation-warning.cpp) -add_executable(stream ./deprecation-warning.cpp) -add_executable(command ./deprecation-warning.cpp) +if (WHISPER_SDL2) + add_executable(stream ./deprecation-warning.cpp) + add_executable(command ./deprecation-warning.cpp) +endif()