3 Commits

Author SHA1 Message Date
Juan Ramos
891c40de1a cmake: Fix cross-compilation
We need to revert b092b2f in Gentoo to fix multi-ABI vulkan-loader
build

This reverts commit b092b2fccc812453c1d0ec0a829eb8f34f174803.

See https://github.com/KhronosGroup/Vulkan-Headers/issues/330 for
details.
2022-12-05 10:13:31 -07:00
Timo Gurr
b092b2fccc cmake: Fix environment for cross-compile installs
Currently the include directory is arch-dependent.
However, the location where the *.cmake files are installed
is arch-independent. This difference causes an issue with
cross compile environments.
2022-11-21 09:47:43 -07:00
Juan Ramos
9cc8473bb9 cmake: Export CMake Targets File
Now as part of install 2 files are created:
- VulkanHeadersConfig.cmake
- VulkanHeadersConfigVersion.cmake

This allows usage of find_package

closes #157
2022-11-08 10:22:11 -07:00