summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
Diffstat (limited to 'kmscube')
-rw-r--r--kmscube/CMakeLists.txt45
1 files changed, 0 insertions, 45 deletions
diff --git a/kmscube/CMakeLists.txt b/kmscube/CMakeLists.txt
deleted file mode 100644
index 9df43c0..0000000
--- a/kmscube/CMakeLists.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-
-pkg_check_modules(GLESv2 glesv2 REQUIRED)
-pkg_check_modules(EGL egl REQUIRED)
-pkg_check_modules(GBM gbm REQUIRED)
-pkg_check_modules(X11 x11 REQUIRED)
-pkg_check_modules(XCB xcb REQUIRED)
-pkg_check_modules(X11XCB x11-xcb REQUIRED)
-pkg_check_modules(WL wayland-client REQUIRED)
-pkg_check_modules(WL_EGL wayland-egl REQUIRED)
-
-
-include_directories(
- ${LIBDRM_INCLUDE_DIRS}
- ${GLESv2_INCLUDE_DIRS}
- ${EGL_INCLUDE_DIRS}
- ${GBM_INCLUDE_DIRS}
- ${X11_INCLUDE_DIRS}
- ${XCB_INCLUDE_DIRS}
- ${X11XCB_INCLUDE_DIRS}
-)
-
-link_directories(
- ${LIBDRM_LIBRARY_DIRS}
- ${GLESv2_LIBRARY_DIRS}
- ${EGL_LIBRARY_DIRS}
- ${GBM_LIBRARY_DIRS}
- ${X11_LIBRARY_DIRS}
- ${XCB_LIBRARY_DIRS}
- ${X11XCB_LIBRARY_DIRS}
-)
-
-add_executable (kmscube cube.cpp cube.h cube-egl.cpp cube-egl.h cube-gles2.cpp cube-gles2.h
- cube-null.cpp cube-gbm.cpp cube-x11.cpp cube-wl.cpp
- esTransform.cpp esTransform.h)
-target_link_libraries(kmscube kms++ kms++util
- ${LIBDRM_LIBRARIES}
- ${GLESv2_LIBRARIES}
- ${EGL_LIBRARIES}
- ${GBM_LIBRARIES}
- ${X11_LIBRARIES}
- ${XCB_LIBRARIES}
- ${X11XCB_LIBRARIES}
- ${WL_LIBRARIES}
- ${WL_EGL_LIBRARIES}
-)