]> git.jsancho.org Git - lugaru.git/blobdiff - CMakeLists.txt
Removed 'md5.h' from CMake scripts, as it no longer exists
[lugaru.git] / CMakeLists.txt
index fe0c1d68708892192cffcf20d5941468c27d7127..3908731de22acb3dc43b0db7d334bc3f0e8add7e 100644 (file)
@@ -97,7 +97,6 @@ set(LUGARU_H
        ${SRCDIR}/openal_wrapper.h
        ${SRCDIR}/gamegl.h
        ${SRCDIR}/glstubs.h
-       ${SRCDIR}/md5.h
        ${SRCDIR}/mmgr.h
        ${SRCDIR}/nommgr.h
        ${SRCDIR}/pack_private.h
@@ -205,19 +204,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)