Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-02-03 12:53:30 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-02-03 12:53:30 +0300
commit6f5cb00148851b121176fc800ca3d3cf55cc469c (patch)
treee91d51c54be00f7fa4141457b09b166a737c4990 /CMakeLists.txt
parentcb0aca91ef8f574552f797709b6c612c721e85b2 (diff)
Use GNUInstallDirs for include path as well.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b91f9ba6..0b57caac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -154,7 +154,7 @@ macro(spirv_cross_add_library name config_name library_type)
extract_headers(hdrs "${ARGN}")
target_include_directories(${name} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
- $<INSTALL_INTERFACE:include/spirv_cross>)
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/spirv_cross>)
set_target_properties(${name} PROPERTIES
PUBLIC_HEADERS "${hdrs}")
if (SPIRV_CROSS_FORCE_PIC)