diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-27 22:44:11 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-03-03 13:16:50 +0000 |
commit | ac16e8c519ad5b5f6f17a7da41d627338a3d2b0d (patch) | |
tree | 57444cb2aa55852d6590783ef31b1af4da2d5997 /tests/glx | |
parent | 50613560bf57ce4b77d1702bb1d2dade73218080 (diff) |
cmake: check for glproto headers
And error out when they're not found, rather than failing to
compile later when GL/glxproto.h can't be found.
Diffstat (limited to 'tests/glx')
-rw-r--r-- | tests/glx/CMakeLists.gl.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/glx/CMakeLists.gl.txt b/tests/glx/CMakeLists.gl.txt index 4fd0ea2ca..4477585f0 100644 --- a/tests/glx/CMakeLists.gl.txt +++ b/tests/glx/CMakeLists.gl.txt @@ -14,6 +14,9 @@ link_libraries ( ) IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + include_directories( + ${GLPROTO_INCLUDE_DIRS} + ) add_executable (glx-fbconfig-sanity glx-fbconfig-sanity.c) add_executable (glx-fbconfig-compliance glx-fbconfig-compliance.c) add_executable (glx-fbo-binding glx-fbo-binding.c) |