diff --git a/CMakeLists.txt b/CMakeLists.txt index ba88984..3c96602 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,4 +6,4 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) find_package(SDL2 REQUIRED) add_executable(Graph main.cpp) -target_link_libraries(Graph PUBLIC SDL2::SDL2) +target_link_libraries(Graph PUBLIC SDL2::SDL2 SDL2::SDL2main)