diff options
| author | Karl Schultz <karl@lunarg.com> | 2016-10-12 17:36:35 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2016-10-12 17:36:35 -0600 |
| commit | 69c3f6fda50a22a14f917f46b0b7364d9d0cc51d (patch) | |
| tree | 07e1e8122a20e69cb38aac825c6ae1d1feb016e1 | |
| parent | 184c9cbd78556ae209384f35a601ea9fc16e9721 (diff) | |
| download | usermoji-69c3f6fda50a22a14f917f46b0b7364d9d0cc51d.tar.xz | |
build: Add include files to make install target
Change-Id: Ieaf84adc4a9345c1f5ef7646106dd00ff3e5e716
| -rw-r--r-- | BUILD.md | 1 | ||||
| -rw-r--r-- | CMakeLists.txt | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -75,6 +75,7 @@ sudo make install This command installs files to: +* `/usr/local/include/vulkan`: Vulkan include files * `/usr/local/lib`: Vulkan loader and layers shared objects * `/usr/local/bin`: vulkaninfo application * `/etc/vulkan/explicit_layer.d`: Layer JSON files diff --git a/CMakeLists.txt b/CMakeLists.txt index 56854273..4b3fd13d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,6 +282,10 @@ if(NOT WIN32) endif() endif() +if(UNIX) + install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/vulkan" DESTINATION include) +endif() + # loader: Generic VULKAN ICD loader # tests: VULKAN tests if(BUILD_LOADER) |
