From 0400eac96a69a322fd6d77868eb7edad81cc860f Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Thu, 14 Jul 2022 16:43:11 -0700 Subject: Add CMake SDL2 build support --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6224f9d5f..2231aaaab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,7 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules) FIND_PACKAGE(Gettext) OPTION(WITH_OPENGL "Enable OpenGL support" ON) +OPTION(USE_SDL2 "Build with SDL 2.0 instead of 1.2" OFF) OPTION(ENABLE_NLS "Enable building of tranlations" ON) OPTION(ENABLE_TMWA "Enable tmwA support" ON) -- cgit v1.2.3-70-g09d2