From 3d67b8d026f396af72dc0ac0d59e61449a8198c9 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 13 Jan 2023 18:40:49 +0100 Subject: [PATCH] cmake: convert spaces in USB_CFLAGS to ';' --- cmake/sdlchecks.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake index e2d63f718..24013499e 100644 --- a/cmake/sdlchecks.cmake +++ b/cmake/sdlchecks.cmake @@ -1019,6 +1019,7 @@ macro(CheckUSBHID) set(SDL_JOYSTICK_USBHID 1) file(GLOB BSD_JOYSTICK_SOURCES ${SDL3_SOURCE_DIR}/src/joystick/bsd/*.c) list(APPEND SOURCE_FILES ${BSD_JOYSTICK_SOURCES}) + separate_arguments(USB_CFLAGS) target_compile_options(sdl-build-options INTERFACE ${USB_CFLAGS}) list(APPEND SDL_EXTRA_LIBS ${USB_LIBS}) set(HAVE_SDL_JOYSTICK TRUE)