aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-12 22:57:39 -0800
committerChris Robinson <[email protected]>2018-11-12 22:57:39 -0800
commite7ab5053e4374273a4da41fb3622565c40e646e2 (patch)
tree50162c157b9bd2803ae880670aa146ff1eb9c569 /CMakeLists.txt
parenta6d780574de081865ec673cb5c930a2c7796f43a (diff)
Convert the SDL2 backend to C++
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff8d6149..a2ebccdb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1292,7 +1292,7 @@ IF(SDL2_FOUND)
OPTION(ALSOFT_BACKEND_SDL2 "Enable SDL2 backend" OFF)
IF(ALSOFT_BACKEND_SDL2)
SET(HAVE_SDL2 1)
- SET(ALC_OBJS ${ALC_OBJS} Alc/backends/sdl2.c)
+ SET(ALC_OBJS ${ALC_OBJS} Alc/backends/sdl2.cpp)
SET(BACKENDS "${BACKENDS} SDL2,")
SET(EXTRA_LIBS ${SDL2_LIBRARY} ${EXTRA_LIBS})
SET(INC_PATHS ${INC_PATHS} ${SDL2_INCLUDE_DIR})