From 4f75378a73db080a5e443b0133b3680d2072e362 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Thu, 22 Feb 2018 13:12:59 +0100 Subject: [PATCH] Include SDL2MAIN_LIBRARY in build This should prevent manual intervention when building in MSVC17 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cbcbff..fc43634 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,7 @@ add_executable(breakhack target_link_libraries(breakhack ${LUA_LIBRARY} ${SDL2_LIBRARY} + ${SDL2MAIN_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${SDL2_TTF_LIBRARY} ${SDL2_MIXER_LIBRARY}