mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 10:49:12 +00:00
cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
This commit is contained in:
committed by
Anonymous Maarten
parent
c61367c273
commit
78a3751659
@@ -74,7 +74,7 @@ macro(LISTTOSTR _LIST _OUTPUT)
|
||||
# Do not use string(REPLACE ";" " ") here to avoid messing up list
|
||||
# entries
|
||||
foreach(_ITEM ${${_LIST}})
|
||||
set(${_OUTPUT} "${_LPREFIX}${_ITEM} ${${_OUTPUT}}")
|
||||
set(${_OUTPUT} "${${_OUTPUT}} ${_LPREFIX}${_ITEM}")
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
@@ -88,7 +88,7 @@ macro(LISTTOSTRREV _LIST _OUTPUT)
|
||||
# Do not use string(REPLACE ";" " ") here to avoid messing up list
|
||||
# entries
|
||||
foreach(_ITEM ${${_LIST}})
|
||||
set(${_OUTPUT} "${${_OUTPUT}} ${_LPREFIX}${_ITEM}")
|
||||
set(${_OUTPUT} "${_LPREFIX}${_ITEM} ${${_OUTPUT}}")
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user