From be1042ead50b3a50f1acb4131c5246770f418813 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 5 Aug 2014 14:22:03 +0800 Subject: [PATCH] intel: adapt intel_winsys for our needs No mutex. Always associate a intel_winsys with a hardware context. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3945440..4d9341f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,10 @@ pkg_check_modules(LIBDRM REQUIRED libdrm) if (NOT LIBDRM_FOUND) message(FATAL_ERROR "libdrm not found") endif() +pkg_check_modules(LIBDRM_INTEL REQUIRED libdrm_intel) +if (NOT LIBDRM_INTEL_FOUND) + message(FATAL_ERROR "libdrm not found") +endif() if (CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Werror -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter") -- 2.7.4