logo

overlay

My own overlay for experimentations, use with caution, no support is provided

milkytracker-1.02.00-fix_FindSDL2.cmake.patch (428B)


      1 diff --git a/cmake/FindSDL2.cmake.old b/cmake/FindSDL2.cmake
      2 index 27c78f0..0506fc4 100644
      3 --- a/cmake/FindSDL2.cmake.old
      4 +++ b/cmake/FindSDL2.cmake
      5 @@ -93,7 +93,7 @@ if(SDL2_INCLUDE_DIR AND EXISTS "${SDL2_INCLUDE_DIR}/SDL_version.h")
      6  endif()
      7  
      8  set(SDL2_INCLUDE_DIRS ${SDL2_INCLUDE_DIR})
      9 -set(SDL2_LIBRARIES ${SDL2MAIN_LIBRARY} ${SDL2_LIBRARY})
     10 +set(SDL2_LIBRARIES ${SDL2_LIBRARY})
     11  
     12  include(FindPackageHandleStandardArgs)
     13