-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Install headers for native builds
When building a game that has been ported to Linux using DXVK Native, these headers are necessary to provide the Direct3D and DXVK APIs. Signed-off-by: Simon McVittie <[email protected]>
- Loading branch information
1 parent
8f40d7a
commit 29c7cea
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
install_subdir( | ||
'directx', | ||
install_dir: get_option('includedir') / 'dxvk', | ||
strip_directory: true, | ||
) | ||
|
||
install_subdir( | ||
'windows', | ||
install_dir: get_option('includedir') / 'dxvk', | ||
strip_directory: true, | ||
) | ||
|
||
install_headers( | ||
'wsi/native_wsi.h', | ||
'wsi/native_sdl2.h', | ||
'wsi/native_glfw.h', | ||
subdir: 'dxvk/wsi', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters