mirror of https://github.com/libsdl-org/SDL
Switch from EXTRA_LIBS to SDL_EXTRA_LIBS
This commit is contained in:
parent
eca7b8e4a1
commit
bc9e0bb7ad
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue