From 6b55f02eb6025deafb79068f257f9911a96a5bfb Mon Sep 17 00:00:00 2001 From: kapodamy <16857233+kapodamy@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:08:28 -0300 Subject: [PATCH] Update CMakeList.txt --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6deb7347..de72ff19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,10 @@ else() set(GAME_VERSION 3 CACHE STRING "The game version to use. Defaults to 3 == Last pre-plus release") endif() +if(MINGW AND WIN32) + set(CMAKE_SHARED_LIBRARY_PREFIX "") +endif() + set(GAME_NAME "SonicMania" CACHE STRING "The game directory to look into") set(GAME_OUTPUT_NAME "Game" CACHE STRING "The name of the built library")