summaryrefslogtreecommitdiff
path: root/src/egl/eglut/CMakeLists.txt
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2022-04-29 12:31:55 +0200
committerErik Faye-Lund <erik.faye-lund@collabora.com>2022-08-01 17:30:44 +0200
commitabfead37587f1f2e124bdfcde755b6e90421b538 (patch)
treead0d05a94bef8f663b746249d7c0c4de6e8c3bfe /src/egl/eglut/CMakeLists.txt
parent49c89ab7a96a2ef5e3200e56d3043372e736e4c9 (diff)
downloadmesa-demos-abfead37587f1f2e124bdfcde755b6e90421b538.tar.gz
remove cmake and autotools support
These build systems were deprecated in Mesa-Demos 8.5.0, which was released at the end of May. It's about time to remove them, so people don't have to keep maintaining three build systems. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@igalia.com>
Diffstat (limited to 'src/egl/eglut/CMakeLists.txt')
-rw-r--r--src/egl/eglut/CMakeLists.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/egl/eglut/CMakeLists.txt b/src/egl/eglut/CMakeLists.txt
deleted file mode 100644
index 4dcadaf8..00000000
--- a/src/egl/eglut/CMakeLists.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-include_directories (
- ${EGL_INCLUDE_DIRS}
-)
-
-if (X11_FOUND)
- add_library (eglut_x11 eglut.h eglut.c eglutint.h eglut_x11.c)
- target_link_libraries (eglut_x11 ${EGL_LIBRARIES} ${X11_X11_LIB})
- if (BUILD_SHARED_LIBS)
- install (TARGETS eglut_x11 DESTINATION ${LIBDIR})
- endif (BUILD_SHARED_LIBS)
-endif (X11_FOUND)
-
-if (BUILD_WAYLAND)
- ecm_add_wayland_client_protocol (eglut_wayland_proto_SOURCES
- PROTOCOL "${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml"
- BASENAME xdg-shell)
-
- add_library (eglut_wayland
- eglut.h eglut.c
- eglutint.h eglut_wayland.c
- ${eglut_wayland_proto_SOURCES})
- target_compile_options (eglut_wayland PRIVATE ${Wayland_DEFINITIONS})
- target_include_directories (eglut_wayland PRIVATE
- ${Wayland_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
- target_link_libraries (eglut_wayland ${EGL_LIBRARIES} ${Wayland_LIBRARIES})
- if (BUILD_SHARED_LIBS)
- install (TARGETS eglut_wayland DESTINATION ${LIBDIR})
- endif (BUILD_SHARED_LIBS)
-endif (BUILD_WAYLAND)