diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-25 17:37:15 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-25 17:37:17 +0100 |
commit | dadefbcd103bd11bc74ca35a40d18dd2c1877f70 (patch) | |
tree | 5ce686b016001b616e335c1eca7864f175f38f95 | |
parent | 7ff4843203eb67fbaa88737a31b891f99e2d1efd (diff) | |
download | mana-dadefbcd103bd11bc74ca35a40d18dd2c1877f70.tar.gz mana-dadefbcd103bd11bc74ca35a40d18dd2c1877f70.tar.bz2 mana-dadefbcd103bd11bc74ca35a40d18dd2c1877f70.tar.xz mana-dadefbcd103bd11bc74ca35a40d18dd2c1877f70.zip |
Removed X11 dependency
It was only used for the clipboard, which is now interacted with through
SDL 2.
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/CMakeLists.txt | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d0d62ab..9fbf4e1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,9 +39,6 @@ IF (WIN32) SET(LOCALEDIR ".") CONFIGURE_FILE(src/winver.h.in src/winver.h) ELSE (WIN32) - IF (NOT OSX AND NOT BEOS) - OPTION(USE_X11 "Use X11 Clipboard functionality" ON) - ENDIF () SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana CACHE PATH "Mana datadir") SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Mana bindir") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7aa6cdcb..b4227f65 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -79,12 +79,6 @@ IF (WITH_OPENGL) MESSAGE(STATUS "OpenGL support enabled") ENDIF (WITH_OPENGL) -IF (USE_X11) - FIND_PACKAGE(X11 REQUIRED) - INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) - SET(FLAGS "${FLAGS} -DUSE_X11") -ENDIF (USE_X11) - INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${SDL2_INCLUDE_DIRS} |