Merge pull request #414 from Nadia-h/patch-1

Remove useless BUILD_SDL2 option
This commit is contained in:
Arisotura 2019-05-27 00:33:46 +02:00 committed by GitHub
commit 30e2479b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,6 @@ if(ENABLE_LTO)
endif() endif()
option(BUILD_LIBUI "Build libui frontend" ON) option(BUILD_LIBUI "Build libui frontend" ON)
option(BUILD_SDL "Build SDL2 frontend" OFF)
add_subdirectory(src) add_subdirectory(src)
@ -33,10 +32,6 @@ if (BUILD_LIBUI)
add_subdirectory(src/libui_sdl) add_subdirectory(src/libui_sdl)
endif() endif()
if (BUILD_SDL)
add_subdirectory(src/sdl)
endif()
configure_file( configure_file(
${CMAKE_SOURCE_DIR}/romlist.bin ${CMAKE_SOURCE_DIR}/romlist.bin
${CMAKE_BINARY_DIR}/romlist.bin COPYONLY) ${CMAKE_BINARY_DIR}/romlist.bin COPYONLY)