projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe8338
)
cmake: GH1444, add wayland include dir to cmake
author
Thomas Heijligen
<src@posteo.de>
Wed, 8 Feb 2017 09:44:29 +0000
(10:44 +0100)
committer
Mark Lobodzinski
<mark@lunarg.com>
Wed, 8 Feb 2017 19:58:21 +0000
(12:58 -0700)
On some Linux distributions (e.g openSUSE, Fedora) the wayland headers are in
a subdirectory.
Adding WAYLAND_CLIENT_INCLUDE_DIR to include_directories in CMakeLists.txt
will fix this issue.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
494dd59
..
5809c6f
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-33,6
+33,7
@@
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (BUILD_WSI_WAYLAND_SUPPORT)
find_package(Wayland REQUIRED)
+ include_directories(${WAYLAND_CLIENT_INCLUDE_DIR})
endif()
if (BUILD_WSI_MIR_SUPPORT)