diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-18 22:50:40 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-18 22:50:40 +0200 |
commit | 267b3506e8a6e9024c0f4b0659656dcd381980c0 (patch) | |
tree | 6fa545494b3400a46124d6b367bc2508ed3c5f8c /kmscube/CMakeLists.txt | |
parent | 7e8505c003c49898e6c668f070c579c8c03080f0 (diff) | |
parent | 8bc73333e83be29e2f94017405c08e1cee48cff4 (diff) |
Merge branch 'kmscube'
Diffstat (limited to 'kmscube/CMakeLists.txt')
-rw-r--r-- | kmscube/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kmscube/CMakeLists.txt b/kmscube/CMakeLists.txt new file mode 100644 index 0000000..4730d04 --- /dev/null +++ b/kmscube/CMakeLists.txt @@ -0,0 +1,17 @@ +include_directories(${LIBDRM_INCLUDE_DIRS}) +link_directories(${LIBDRM_LIBRARY_DIRS}) + +pkg_check_modules(GLESv2 glesv2 REQUIRED) +include_directories(${GLESv2_INCLUDE_DIRS}) +link_directories(${GLESv2_LIBRARY_DIRS}) + +pkg_check_modules(EGL egl REQUIRED) +include_directories(${EGL_INCLUDE_DIRS}) +link_directories(${EGL_LIBRARY_DIRS}) + +pkg_check_modules(GBM gbm REQUIRED) +include_directories(${GBM_INCLUDE_DIRS}) +link_directories(${GBM_LIBRARY_DIRS}) + +add_executable (kmscube kmscube.cpp esTransform.c esUtil.h cube.h) +target_link_libraries(kmscube kms++ kmstest ${LIBDRM_LIBRARIES} ${GLESv2_LIBRARIES} ${EGL_LIBRARIES} ${GBM_LIBRARIES}) |