X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=3ebfe8657eecd8d5de1a8779e8a23639c59a65d7;hb=92a6a5b3deaa3c03ab40851496b73bcdbba22fee;hp=fe0c1d68708892192cffcf20d5941468c27d7127;hpb=bcb5d4e54bc4169c31209a62cd3ddb45a6538101;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index fe0c1d6..3ebfe86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,19 +205,17 @@ if (NOT SDL_FOUND) if (WIN32) set(LUGARU_HAS_INTERNAL_SDL True) if (MSVC) - set(SDLMAIN_LIBRARY + set(SDL_LIBRARY ${SDLDIR}/lib/win32/msvc/SDLmain.lib - ) - set(SDL_LIBRARY_TEMP ${SDLDIR}/lib/win32/msvc/SDL.lib ) endif (MSVC) if (MINGW) - set(SDLMAIN_LIBRARY + set(SDL_LIBRARY + "mingw32" ${SDLDIR}/lib/win32/mingw/libSDLmain.a - ) - set(SDL_LIBRARY_TEMP ${SDLDIR}/lib/win32/mingw/libSDL.dll.a + "-mwindows" ) endif (MINGW) endif (WIN32)