CMake: Prevent double SDL2 and SDL2main entries in sdl2.pc
This commit is contained in:
1 parent
863670c0a8
commit
1803e6555f
1 file changed
+1
-1
+1
-1
@@ -3158,7 +3158,7 @@ endif()
|
|||||||
|
|
||||||
# Clean up the different lists
|
# Clean up the different lists
|
||||||
listtostr(EXTRA_LIBS _EXTRA_LIBS "-l")
|
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)
|
list(REMOVE_DUPLICATES SDL_STATIC_LIBS)
|
||||||
listtostr(SDL_STATIC_LIBS _SDL_STATIC_LIBS)
|
listtostr(SDL_STATIC_LIBS _SDL_STATIC_LIBS)
|
||||||
set(SDL_STATIC_LIBS ${_SDL_STATIC_LIBS})
|
set(SDL_STATIC_LIBS ${_SDL_STATIC_LIBS})
|
||||||
|
|||||||
Reference in new issue
Block a user