From d191f08e38b4c04862fa7a1217f7dcec15cb20f6 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 26 Sep 2018 23:51:11 -0400 Subject: [PATCH] Fix MSVC build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)