Switch from EXTRA_LIBS to SDL_EXTRA_LIBS

This commit is contained in:
Elad Lahav 2023-01-10 05:15:19 -05:00 committed by Ryan C. Gordon
parent eca7b8e4a1
commit bc9e0bb7ad
2 changed files with 2 additions and 2 deletions

View File

@ -1538,7 +1538,7 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
set(SDL_AUDIO_DRIVER_QNX 1) set(SDL_AUDIO_DRIVER_QNX 1)
file(GLOB QNX_AUDIO_SOURCES ${SDL3_SOURCE_DIR}/src/audio/qnx/*.c) file(GLOB QNX_AUDIO_SOURCES ${SDL3_SOURCE_DIR}/src/audio/qnx/*.c)
list(APPEND SOURCE_FILES ${QNX_AUDIO_SOURCES}) list(APPEND SOURCE_FILES ${QNX_AUDIO_SOURCES})
list(APPEND EXTRA_LIBS asound) list(APPEND SDL_EXTRA_LIBS asound)
set(HAVE_SDL_AUDIO TRUE) set(HAVE_SDL_AUDIO TRUE)
endif() endif()
CheckOSS() CheckOSS()

View File

@ -767,7 +767,7 @@ macro(CheckQNXScreen)
set(SDL_VIDEO_DRIVER_QNX 1) set(SDL_VIDEO_DRIVER_QNX 1)
file(GLOB QNX_VIDEO_SOURCES ${SDL3_SOURCE_DIR}/src/video/qnx/*.c) file(GLOB QNX_VIDEO_SOURCES ${SDL3_SOURCE_DIR}/src/video/qnx/*.c)
list(APPEND SOURCE_FILES ${QNX_VIDEO_SOURCES}) list(APPEND SOURCE_FILES ${QNX_VIDEO_SOURCES})
list(APPEND EXTRA_LIBS screen EGL) list(APPEND SDL_EXTRA_LIBS screen EGL)
endif() endif()
endif() endif()
endmacro() endmacro()