build: Add include files to make install target

Change-Id: Ieaf84adc4a9345c1f5ef7646106dd00ff3e5e716
This commit is contained in:
Karl Schultz 2016-10-12 17:36:35 -06:00
parent d7fb159e6f
commit d40671ef63
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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)