mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 07:48:42 +00:00
Merge pull request #9953 from sharkwouter/fix-double-libs-in-pkgconfig
CMake: Prevent double SDL2 and SDL2main entries in sdl2.pc
This commit is contained in:
commit
295266c708
1 changed files with 1 additions and 1 deletions
|
|
@ -3158,7 +3158,7 @@ endif()
|
|||
|
||||
# Clean up the different lists
|
||||
listtostr(EXTRA_LIBS _EXTRA_LIBS "-l")
|
||||
set(SDL_STATIC_LIBS ${SDL_LIBS} ${EXTRA_LDFLAGS} ${_EXTRA_LIBS})
|
||||
set(SDL_STATIC_LIBS ${EXTRA_LDFLAGS} ${_EXTRA_LIBS})
|
||||
list(REMOVE_DUPLICATES SDL_STATIC_LIBS)
|
||||
listtostr(SDL_STATIC_LIBS _SDL_STATIC_LIBS)
|
||||
set(SDL_STATIC_LIBS ${_SDL_STATIC_LIBS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue