sdl2-config.cmake.in
changeset 13729 89a457159af4
parent 13683 60f1e9fb5957
     1.1 --- a/sdl2-config.cmake.in	Mon Apr 13 08:05:29 2020 -0700
     1.2 +++ b/sdl2-config.cmake.in	Sat Apr 11 23:38:34 2020 +0100
     1.3 @@ -15,7 +15,7 @@
     1.4    # This may require "libdir" beeing set (from above)
     1.5    string(REPLACE "-lSDL2 " "" SDL2_EXTRA_LINK_FLAGS "@SDL_RLD_FLAGS@ @SDL_LIBS@ ")
     1.6    string(STRIP "${SDL2_EXTRA_LINK_FLAGS}" SDL2_EXTRA_LINK_FLAGS)
     1.7 -  string(REPLACE "-lSDL2 " "" SDL2_EXTRA_LINK_FLAGS_STATIC "@SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@ ")
     1.8 +  string(REPLACE "-lSDL2 " "" SDL2_EXTRA_LINK_FLAGS_STATIC "@SDL_STATIC_LIBS@ ")
     1.9    string(STRIP "${SDL2_EXTRA_LINK_FLAGS_STATIC}" SDL2_EXTRA_LINK_FLAGS_STATIC)
    1.10  
    1.11    add_library(SDL2::SDL2 SHARED IMPORTED)