Commit 7d470b78 authored by Marek Olšák's avatar Marek Olšák

Revert "cmake: make gbm a required build dependency"

This reverts commit c878a27d.

pushed by accident
parent e1bc6ea6
Pipeline #38631 passed with stage
...@@ -141,7 +141,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ...@@ -141,7 +141,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-DPIGLIT_HAS_GLX) add_definitions(-DPIGLIT_HAS_GLX)
endif() endif()
pkg_check_modules(GBM REQUIRED gbm>=17.1) pkg_check_modules(GBM QUIET gbm>=17.1)
if(GBM_FOUND) if(GBM_FOUND)
set(PIGLIT_HAS_GBM True) set(PIGLIT_HAS_GBM True)
add_definitions(-DPIGLIT_HAS_GBM) add_definitions(-DPIGLIT_HAS_GBM)
......
...@@ -33,7 +33,7 @@ First of all, you need to make sure that the following are installed: ...@@ -33,7 +33,7 @@ First of all, you need to make sure that the following are installed:
- numpy (http://www.numpy.org) - numpy (http://www.numpy.org)
- six (https://pypi.python.org/pypi/six) - six (https://pypi.python.org/pypi/six)
- cmake (http://www.cmake.org) - cmake (http://www.cmake.org)
- GL, gbm, glu and glut libraries and development packages (i.e. headers) - GL, glu and glut libraries and development packages (i.e. headers)
- X11 libraries and development packages (i.e. headers) - X11 libraries and development packages (i.e. headers)
- waffle (http://www.waffle-gl.org) - waffle (http://www.waffle-gl.org)
- mako - mako
...@@ -97,7 +97,7 @@ flags), then you must invoke cmake with options ...@@ -97,7 +97,7 @@ flags), then you must invoke cmake with options
Install development packages. Install development packages.
$ sudo apt-get install cmake g++ mesa-common-dev libgl1-mesa-dev python-numpy python-mako freeglut3-dev x11proto-gl-dev libxrender-dev libwaffle-dev libgbm-dev $ sudo apt-get install cmake g++ mesa-common-dev libgl1-mesa-dev python-numpy python-mako freeglut3-dev x11proto-gl-dev libxrender-dev libwaffle-dev
Configure and build. Configure and build.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment