mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Change CMake minimum version requirement to the one shipped with Ubuntu LTS
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.10.2)
|
||||
|
||||
cmake_policy(VERSION 3.13)
|
||||
cmake_policy(VERSION 3.10.2)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
@ -22,6 +22,7 @@ if(ENABLE_LTO)
|
||||
endif()
|
||||
|
||||
option(BUILD_LIBUI "Build libui frontend" ON)
|
||||
option(BUILD_SDL "Build SDL2 frontend" OFF)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
@ -29,6 +30,10 @@ if (BUILD_LIBUI)
|
||||
add_subdirectory(src/libui_sdl)
|
||||
endif()
|
||||
|
||||
if (BUILD_SDL)
|
||||
add_subdirectory(src/sdl)
|
||||
endif()
|
||||
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/romlist.bin
|
||||
${CMAKE_BINARY_DIR}/romlist.bin COPYONLY)
|
||||
|
Reference in New Issue
Block a user