CMakeLists.txt
changeset 13944 b8c8ce11efc7
parent 13934 e7828d3a7576
     1.1 --- a/CMakeLists.txt	Sun Jul 05 22:33:10 2020 +0300
     1.2 +++ b/CMakeLists.txt	Wed Jul 08 17:28:34 2020 +0200
     1.3 @@ -404,6 +404,7 @@
     1.4    ${SDL2_SOURCE_DIR}/src/dynapi/*.c
     1.5    ${SDL2_SOURCE_DIR}/src/events/*.c
     1.6    ${SDL2_SOURCE_DIR}/src/file/*.c
     1.7 +  ${SDL2_SOURCE_DIR}/src/haptic/*.c
     1.8    ${SDL2_SOURCE_DIR}/src/libm/*.c
     1.9    ${SDL2_SOURCE_DIR}/src/locale/*.c
    1.10    ${SDL2_SOURCE_DIR}/src/power/*.c
    1.11 @@ -878,8 +879,6 @@
    1.12      # Haptic requires some private functions from the joystick subsystem.
    1.13      message_error("SDL_HAPTIC requires SDL_JOYSTICK, which is not enabled")
    1.14    endif()
    1.15 -  file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/*.c)
    1.16 -  set(SOURCE_FILES ${SOURCE_FILES} ${HAPTIC_SOURCES})
    1.17  endif()
    1.18  
    1.19