fixed after breaking everything with errno.h and vector.h changes, config still borked
This commit is contained in:
parent
2df9f318a5
commit
cdd6c3976b
18 changed files with 86 additions and 84 deletions
|
|
@ -7,6 +7,9 @@ set(ARCHEUS_STD_SDL2_INPUT_SOURCES
|
|||
packages/input/sdl/input.c
|
||||
packages/input/sdl/keyboard.c
|
||||
packages/input/sdl/mouse.c
|
||||
|
||||
#TODO: remove this
|
||||
packages/audio/sdl/config.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_SDL2_GRAPHICS_SOURCES
|
||||
|
|
@ -45,7 +48,15 @@ function(sdl2_check_and_init_needed _ARCHEUS_STD_SOURCES _ARCHEUS_STD_INCLUDE_DI
|
|||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_INPUT_BACKEND} STREQUAL "SDL2")
|
||||
#TODO: remove this
|
||||
find_package(SDL2_mixer REQUIRED)
|
||||
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_SDL2_INPUT_SOURCES})
|
||||
|
||||
#TODO: remove this
|
||||
list(APPEND ${_ARCHEUS_STD_LINK_LIBRARIES}
|
||||
PUBLIC SDL2_mixer::SDL2_mixer
|
||||
)
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_GRAPHICS_BACKEND} STREQUAL "SDL2")
|
||||
|
|
@ -69,4 +80,4 @@ function(sdl2_check_and_init_needed _ARCHEUS_STD_SOURCES _ARCHEUS_STD_INCLUDE_DI
|
|||
set(${_ARCHEUS_STD_SOURCES} ${${_ARCHEUS_STD_SOURCES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_INCLUDE_DIRECTORIES} ${${_ARCHEUS_STD_INCLUDE_DIRECTORIES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_LINK_LIBRARIES} ${${_ARCHEUS_STD_LINK_LIBRARIES}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue