diff --git a/CMakeLists.txt b/CMakeLists.txt index 83d80e7..e8ca52b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,6 +42,6 @@ if(SDL2_FOUND) ) target_link_libraries(robomasterapp robomaster - SDL2::SDL2 + SDL2::SDL2-static ) endif()